A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2005-September/335160.html below:

Documenting members

Documenting members Documenting membersLasse 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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4