Skip to content

Instantly share code, notes, and snippets.

@yeukhon
Created May 12, 2017 17:33
Show Gist options
  • Save yeukhon/32aa89429a70e577e69b71e8c070ae96 to your computer and use it in GitHub Desktop.
Save yeukhon/32aa89429a70e577e69b71e8c070ae96 to your computer and use it in GitHub Desktop.
>>> @print
... @print
... @print
... class print(print, print, print, metaclass=print):
... print = print = print
...
print (<built-in function print>, <built-in function print>, <built-in function print>) {'__module__': '__main__', 'print': <built-in function print>, '__qualname__': 'print'}
None
None
None
>>> print is None
True
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment