Skip to content

Instantly share code, notes, and snippets.

@INF800
Last active August 14, 2021 22:57
Show Gist options
  • Save INF800/ead3626ab2c0e14b391dc5231ae53cc5 to your computer and use it in GitHub Desktop.
Save INF800/ead3626ab2c0e14b391dc5231ae53cc5 to your computer and use it in GitHub Desktop.
test
def f(*, a):
pass
f(1) # raises error
f(a=1) # works
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment