[PEP 224] Attribute Docstrings

Aahz Maruch aahz at netcom.com
Mon Aug 28 11:17:19 EDT 2000


[p&e]

In article <39A68B42.4E3F8A3D at lemburg.com>,
M.-A. Lemburg <mal at lemburg.com> wrote:
>
>    The following name mangling scheme achieves all of the above:
>
>        __doc__<attributename>__

In order to more closely follow the way other methods are named, I
suggest that this be

  __doc_<attributename>__

(Only one internal underscore)
--
                      --- Aahz (Copyright 2000 by aahz at pobox.com)

Androgynous poly kinky vanilla queer het    <*>     http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6

Usenet is not a democracy.  It is a weird cross between an anarchy 
and a dictatorship.  --Aahz



More information about the Python-list mailing list