[Doc-SIG] Documenting "Magic" Methods

Moshe Zadka Moshe Zadka <moshez@math.huji.ac.il>
Fri, 11 Aug 2000 19:58:18 +0300 (IDT)


I assumed that the Python documentation has a standard way to document
classes which define magic methods. However, on looking through the
documented modules, I saw that it was elegently (and sometimes not so
elegantly) avoided -- "dictionary-like interface" is the only thing (apart
from examples) that can be found about
shelve.shelve.__[get|set|del]item__.

Is there something I missed, or is this area really untouched?

--
Moshe Zadka <moshez@math.huji.ac.il>
There is no IGLU cabal.
http://advogato.org/person/moshez