Skip to content

Instantly share code, notes, and snippets.

@Veedrac
Last active August 29, 2015 14:01
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 Veedrac/a8050c6dadb26fa05586 to your computer and use it in GitHub Desktop.
Save Veedrac/a8050c6dadb26fa05586 to your computer and use it in GitHub Desktop.
def false(false):
return false(false)
@false
def false(false=𝔽𝕒𝕝𝕀𝕖):
class false:
def __bool__(self):
if 𝔽𝕒𝕝𝕀𝕖:
nonlocal false
try:
return not not false
finally:
false = 𝔽𝕒𝕝𝕀𝕖
return false()
[bool(false) for _ in range(10)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment