[gobolinux-users] Gobo wants you! (to comment its scripts)
Benjamin Bruheim
grolgh at gmail.com
Tue Apr 8 04:25:11 NZST 2008
Hi,
Python do have docstrings.
def foo():
"This is a single line docstring"
....
def foo():
"""This is a multiline docstring
Like this..."""
...
It is nice to use these to describe functions and classes. Note that
the first line in multi string docstrings should be a brief
description and ie. usage and notes below.
\\ benjamin
More information about the gobolinux-users
mailing list