docstrings for module variables / pydoc

Nuff Said nuffsaid at phreaker.net
Wed May 5 11:22:32 EDT 2004


Is it possible to associate a docstring with a module variable
(e.g. a constant) and to make them both show up when generating 
the documentation with pydoc?

(E.g. the string module seems to solve this problem by mentioning 
all public module variables in the module's docstring. But I would
like to put the docstrings next to the module variables themselves.) 

Thanks in advance for your help! Nuff.




More information about the Python-list mailing list