python2.2 LESS docstring'able
Martin v. Loewis
martin at v.loewis.de
Fri Mar 29 12:54:51 EST 2002
Pete Shinners <shredwheat at attbi.com> writes:
> in pre-2.2 i can have a docstring for each of these. my question is
> now that i'm "combining" the type and the little constructor, what is
> the best way to merge the docstrings? i'd like my object to still have
> the docstring for that type. but i'd really like to be able to see the
> calling syntax for the constructor in docstrings as well?
The common solution is to include creation procedures in the type's
doc string.
Regards,
Martin
More information about the Python-list
mailing list