471,055 Members | 1,722 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,055 software developers and data experts.

List of all Python's __<special-methods>__ ?

Is there an official list of all Python's __<special-methods>__?

I'm learning Python and trying to get an idea of what
__<special-methods>__ are available and specifically, what
__<special-methods>__ are used by each native Python data type?

Thanks!
Malcolm
Jun 27 '08 #1
4 2774
py****@bdurham.com writes:
Is there an official list of all Python's __<special-methods>__?
http://docs.python.org/ref/specialnames.html
Jun 27 '08 #2
Hrvoje Niksic wrote:
py****@bdurham.com writes:
>Is there an official list of all Python's __<special-methods>__?

http://docs.python.org/ref/specialnames.html
__missing__ is missing :-)

see note (10) at the bottom of http://docs.python.org/lib/typesmapping.html

Jun 27 '08 #3
Hrvoje,
>Is there an official list of all Python's __<special-methods>__?
http://docs.python.org/ref/specialnames.html
Wonderful!! Thank you very much.

Regards,
Malcolm
Jun 27 '08 #4
In article <48********@news.mel.dft.com.au>,
John Machin <sj******@lexicon.netwrote:
Hrvoje Niksic wrote:
py****@bdurham.com writes:
Is there an official list of all Python's __<special-methods>__?
http://docs.python.org/ref/specialnames.html

__missing__ is missing :-)

see note (10) at the bottom of http://docs.python.org/lib/typesmapping.html
Yes, and __copy__ and __deepcopy__ are missing too:

http://docs.python.org/lib/module-copy.html

Dave
Jun 27 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.