1 points · by dbader · 8y ago · 0 comments
No comments yet.
Operator and Function Overloading in Custom Python Classes – Real Python
Use Python operator overloading to make built-in functions and operators work with your own classes, and write more Pythonic code.
Real Python