4 ms·
I don't find many of these wat-worthy. In python 2.x you could redefine True and False, and this is fun: >>> object() < object() True >>> object()
by polemic 11y ago
I don't find many of these wat-worthy.
In python 2.x you could redefine True and False, and this is fun:
>>> object() < object()
True
>>> object() < object()
False
>>> object() < object()
True
But python3 dropped a lot of wat-ness.
This one is fun too: https://bugs.python.org/issue13936 https://bugs.python.org/issue13936