[Python-Dev] Re: [PEP 224] Attribute Docstrings
Greg Ewing
greg@cosc.canterbury.ac.nz
Mon, 28 Aug 2000 15:16:35 +1200 (NZST)
David Goodger <dgoodger@bigfoot.com>:
> 6. Instead of mangling names, how about an alternative approach? Each class,
> instance, module, and function gets a single special name (call it
> '__docs__' for now), a dictionary of attribute-name to docstring
> mappings.
Good idea!
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury, | A citizen of NewZealandCorp, a |
Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. |
greg@cosc.canterbury.ac.nz +--------------------------------------+