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


Groups > comp.lang.python > #19891 > unrolled thread

Re: help function and operetors overloading

Started byChris Rebert <clp2@rebertia.com>
First post2012-02-05 22:00 -0800
Last post2012-02-05 22:00 -0800
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: help function and operetors overloading Chris Rebert <clp2@rebertia.com> - 2012-02-05 22:00 -0800

#19891 — Re: help function and operetors overloading

FromChris Rebert <clp2@rebertia.com>
Date2012-02-05 22:00 -0800
SubjectRe: help function and operetors overloading
Message-ID<mailman.5466.1328508023.27778.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web