Below are some common special functions that can be overloaded while implementing operators for objects of a class.
Operator Method
+ __add__ (self, other)
- __sub__ (self, other)
/ __truediv__ (self, other)
* __mul__ (self, other)
< __lt__ (self, other)
> __gt__ (self, other)
== __eq__ (self, other)
It is for the user to decide how they want the objects to interact when an operator operates on them, but they usually need to make sure that these operations make sense. For example, the + is not going to be used for finding products of different properties of a class.