In this section you will learn about operator overloading. That is, the ability to use operators such as "+" with objects that you create.
Chapter 12: More on Classes
Example code to overload the "+" operator for MyClass
class MyClass (object): def __add__ (self, operand2): suite-of-statements # calculate result # call constructor so returned object is of class type (closure) return MyClass(result)