Skip to: site menu | section menu | main content

IronPython in Action News

News on the IronPython in Action book and sources.

Currently viewing: Front Page

Online Magic Methods Reference Completed

written by Michael Foord, on 4/26/09 8:26 PM.

Appendix B of IronPython in Action is a reference to all the common Python protocol methods. The protocol methods, known as magic methods, start and end with double underscores and are implemented by objects to support iteration, indexing as a container and all the Python protocols. I've been putting parts of the appendix online as I've had time; and it is now complete.

The new sections that I've just added are:

  • Magic attributes
  • Functions and modules

Leave a Reply

Back to top