Re: docstrings for data fields

2012-05-03 Thread mblume
Am Thu, 03 May 2012 14:51:54 +0200 schrieb Ulrich Eckhardt: > Hi! > > My class Foo exports a constant, accessible as Foo.MAX_VALUE. Now, with > functions I would simply add a docstring explaining the meaning of this, > but how do I do that for a non-function member? Note also that ideally, > this

Re: docstrings for data fields

2012-05-03 Thread Jean-Michel Pichavant
Ulrich Eckhardt wrote: Hi! My class Foo exports a constant, accessible as Foo.MAX_VALUE. Now, with functions I would simply add a docstring explaining the meaning of this, but how do I do that for a non-function member? Note also that ideally, this constant wouldn't show up inside instances of t