Most gratuitous comments

Marko Rauhamaa marko at pacujo.net
Tue Nov 25 07:53:44 EST 2014


Marco Buttu <marco.buttu at gmail.com>:

> To acknowledge the OP, the statistics module deserves to be taken as
> example for writing good comments and docstrings:
>
> https://hg.python.org/cpython/file/3.4/Lib/statistics.py

True, it is done with good style. It concentrates on documenting use and
lets the implementation document itself.


Marko



More information about the Python-list mailing list