Prototypes - University of Arizona

Methods with names such as __ __ (that is, two underscores, an identifier, and two more underscores) are special hooks that are called automatically when Python evaluates certain operators. This may not make a lot of sense just yet, but keep reading…. These “double underscore” methods are pretty famous in Python. ................
................