Operator Overloading « Class « Python Tutorial






11.5.Operator Overloading
11.5.1.Operator Overloading: add, sub, mul, div
11.5.2.Operator Overloading: sub
11.5.3.Classes Can Intercept Python Operators