help function and operetors overloading

Terry Reedy tjreedy at udel.edu
Mon Feb 6 08:28:52 CET 2012


On 2/6/2012 12:48 AM, Mohsen Pahlevanzadeh wrote:
> Dear all,
>
> You know python has many functions for operators overloading such as
> __add__, __radd__, __invert__, __eq__ and so on.
> How i see the complete list of them with help function?

 >>> import operator
 >>> help(operator)
Help on built-in module operator:
...

-- 
Terry Jan Reedy




More information about the Python-list mailing list