Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #19891
| References | <1328507282.11367.40.camel@debian> |
|---|---|
| Date | 2012-02-05 22:00 -0800 |
| Subject | Re: help function and operetors overloading |
| From | Chris Rebert <clp2@rebertia.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.5466.1328508023.27778.python-list@python.org> (permalink) |
On Sun, Feb 5, 2012 at 9:48 PM, Mohsen Pahlevanzadeh <mohsen@pahlevanzadeh.org> 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? I don't know if there's a help() entry for them. The docs have a full list of those "special method names": http://docs.python.org/reference/datamodel.html#special-method-names Cheers, Chris
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: help function and operetors overloading Chris Rebert <clp2@rebertia.com> - 2012-02-05 22:00 -0800
csiph-web