Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Operator Magic Method
< __lt__(self,other)
<= __le__(self,other)
> __gt__(self,other)
>= __ge__(self,other)
== __eq__(self,other)
!= __ne__(self,other)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment