[Numpy-discussion] Howto document constants?
Charles R Harris
charlesr.harris at gmail.com
Fri Nov 13 21:54:55 EST 2009
Hi All,
The documentation documentation says to document constants like functions.
So if a module defines a constant is it documented like so:
myconstant = 1
"""Blah and blah"""
That doesn't seem quite right, but what is the proper method?
Also, do we have a way to document static class methods? Class attributes?
Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20091113/3be26d8c/attachment.html>
More information about the NumPy-Discussion
mailing list