Documenting members
Lasse Vågsæther Karlsen
lasse at vkarlsen.no
Thu Sep 29 03:49:13 EDT 2005
I have a Connection class that exposes members for the hostname, etc.
ie.
class Connection:
def __init__(...):
self.server = server
is there any way to document this "server" member? The only way I know
of right now is to expose it as a property and add the doc string to
that definition.
I've tried finding an example in the lib code installed with Python but
can't seem to track down anything that is documented like that.
--
Lasse Vågsæther Karlsen
http://usinglvkblog.blogspot.com/
mailto:lasse at vkarlsen.no
PGP KeyID: 0x2A42A1C2
More information about the Python-list
mailing list