Skip to main content
Post Made Community Wiki by PleaseStand
Source Link
grc
  • 19.1k
  • 9
  • 37
  • 80

Python

class X(int):__add__=lambda*y:0
x=X()

# Then (x == x+2) == True