(no title)
MadVikingGod | 10 months ago
For example if you make this class:
class _:
def __neg__(self):
return -1
def __sub__(self, other):
return 1-other
You get similar behavior: >>> --_()
1
>>> _()--_()
2
Fun python for everyone.
No comments yet.