[Tutor] Sample docstrings

Remco Gerlich scarblac@pino.selwerd.nl
Thu, 14 Feb 2002 08:48:38 +0100


On  0, Tim Wilson <wilson@isis.visi.com> wrote:
> Hey everyone,
> 
> Can anyone nominate some source code that I can review that does an
> exemplory job of using docstrings? I'm interesting is seeing examples of
> all the the different types mentioned in PEP 257
> (http://python.sourceforge.net/peps/pep-0257.html).

How about the Python Standard Library? There are lots of modules in Lib/ in
your Python directory, and most of them have good docstrings.

-- 
Remco Gerlich