magic names in python

Facundo Batista facundo at taniquetil.com.ar
Mon Jun 4 12:34:06 EDT 2007


Josiah Carlson wrote:

> I don't believe that there is a full list of all __magic__ methods.  The 
> operator module has a fairly extensive listing of functions that call 
> such methods, but I know that some have been left out.

There IS a full documentation of this special methods::

  http://docs.python.org/dev/ref/specialnames.html

Note that they're named "special", not "magic".

The phrase "I'm not a wizard, I just use Python" is one of the best,
ever.

Regards,

-- 
.   Facundo
.
Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/





More information about the Python-list mailing list