Quantcast

A Guide to Python's Magic Methods

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

A Guide to Python's Magic Methods

Graeme Cross
Hi all.

I came across this resource today (via Hacker News) and thought it was
well worth spreading further.

It is a guide to the various magic methods in Python, such as __add__,
__init__ and __enter__. I have not seen a single comprehensive list and
explanation of them all before; it is a great read and also inspires
various bits of hackery :)

http://www.rafekettler.com/magicmethods.html

Enjoy,
Graeme
_______________________________________________
melbourne-pug mailing list
[hidden email]
http://mail.python.org/mailman/listinfo/melbourne-pug
Loading...