Most gratuitous comments

Steven D'Aprano steve+comp.lang.python at pearwood.info
Tue Nov 25 15:47:11 CET 2014


Marko Rauhamaa wrote:

> 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.


Thanks for the kind comments :-)




-- 
Steven




More information about the Python-list mailing list