31. Python operator overloading: Why x + y and y + x give different errors (lernerpython.com)
Operators in Python are turned into “magic” method calls: x + y # becomes x.__add__(y) So: Different errors from different methods! The post Python operator overloading: Why x + y and y + x give different errors appeared first on LernerPython.