Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

9 lines (6 sloc) 613 Bytes

A guide to Python's magic methods.

Written by Rafe Kettler in the year 2011.

Licensed under Creative Commons CC--NC-BY-SA (see Basically, noncommercial, requires attribution, must be reproduced with a similar license. 'Nuff said.

Can be seen at in relatively up to date form.

For forkers:

Edit magicmethods.markdown/magicmethods.tex, then run make docs. The build script requires the Python Markdown module, so you'll have to run pip install markdown if you don't already have it. Happy hacking!

Jump to Line
Something went wrong with that request. Please try again.