Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Guide to Python's magic methods
tag: v1.10

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README
appendix.mkd
magicmarkdown.py
magicmethods.html
magicmethods.mkd
magicmethods.py
style.css

README

A guide to Python's magic methods. Written by Rafe Kettler in the year 2011.

Licensed under Creative Commons CC--NC-BY-SA (see http://creativecommons.org/licenses/by-nc-sa/3.0/). Basically, noncommercial, requires attribution, must be reproduced with a similar license. 'Nuff said.

Can be seen at http://www.rafekettler.com/magicmethods.html in relatively up to date form.

For forkers: edit magicmethods.mkd, run `python magicmarkdown.py`, and then copy-pasta output (output will be in markedup.html) into magicmethods.html (start pasting at line `<h2><a id="intro">Introduction</a></h2>`, should be line 32 or thereabouts). The magicmarkdown script requires markdown, just issue `pip install markdown` and you'll have it.
Something went wrong with that request. Please try again.