Skip to content

Instantly share code, notes, and snippets.

@mheiber
Created April 28, 2023 22:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mheiber/b3e7380851ccb43ab4f6c9ed54e6d33b to your computer and use it in GitHub Desktop.
Save mheiber/b3e7380851ccb43ab4f6c9ed54e6d33b to your computer and use it in GitHub Desktop.
def hole_is_a_variable():
_ = 'hello'
print(_) # 'hello'
def hole_is_not_a_variable():
match 'hello':
case _:
print(_) # NameError
hole_is_a_variable()
hole_is_not_a_variable()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment