[gobolinux-users] Gobo wants you! (to comment its scripts)

Daniele Maccari gobo.users at gmail.com
Tue Apr 8 04:31:45 NZST 2008


Benjamin Bruheim wrote:
> 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
Thank you for your contribute, I think using this format shouldn't be a 
big issue.
I'll read a bit more about that on the python's doc page.


More information about the gobolinux-users mailing list