[Numpy-discussion] Howto document constants?

Charles R Harris charlesr.harris@gmail....
Fri Nov 13 20:54:55 CST 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?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20091113/3be26d8c/attachment.html 

More information about the NumPy-Discussion mailing list