Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #19895

Re: help function and operetors overloading

From Terry Reedy <tjreedy@udel.edu>
Subject Re: help function and operetors overloading
Date 2012-02-06 02:28 -0500
References <1328507282.11367.40.camel@debian>
Newsgroups comp.lang.python
Message-ID <mailman.5470.1328513405.27778.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: help function and operetors overloading Terry Reedy <tjreedy@udel.edu> - 2012-02-06 02:28 -0500

csiph-web