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

More Sections Added to Magic Method Reference

written by Michael Foord, on 4/18/09 2:34 PM.

I've added more sections from appendix B to the online reference on the Python protocol methods.

The protocol methods are the ones that start and end with double-underscores and the different protocols roughly correspond to interfaces in other languages. The new sections added are:

  • Conversion to string
  • Attribute access
  • Numeric types - binary arithmetic operations
  • Numeric types - unary arithmetic operations
  • Numeric types - type conversion

Leave a Reply

Back to top