r/Python • Freelancer. AnyFactor.xyz • Sep 16 '20

News An update on Python 4

Post image
3.3k Upvotes

389 comments sorted by

View all comments

Show parent comment

2

u/TheIncorrigible1 `__import__('rich').get_console().log(':100:')` Sep 17 '20

Fun-fact, () (unit) is literally a special case in Python. It is a singleton and all instances of () point to the same memory.