A link to the official documentation might be in order here as well: http://docs.python.org/2/reference/datamodel.html#special-method-names