/magicmethods

A maintained fork of Rafe Kettler's incredible "Guide to Python's magic methods"

Primary LanguageHTML

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.

History:

This site is a friendly fork of @RafeKettler's excelent guide, currently available in this repo. The latest version of the site is hosted at https://delgadom.github.io/magicmethods. PRs are welcome, and a request that this work be subsumed back into RafeKettler's original repo would be even more welcome.

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!