Re: property docstrings

2006-03-24 Thread Ziga Seilnacht
Darren Dale wrote: > I am trying to work with properties, using python 2.4.2. I can't get the > docstrings to work, can someone suggest what I'm doing wrong? I think the > following script should print "This is the doc string.", but instead it > prints: > > "float(x) -> floating point number > > Co

property docstrings

2006-03-24 Thread Darren Dale
I am trying to work with properties, using python 2.4.2. I can't get the docstrings to work, can someone suggest what I'm doing wrong? I think the following script should print "This is the doc string.", but instead it prints: "float(x) -> floating point number Convert a string or number to a flo

problem with property docstrings

2005-07-23 Thread Michael Muller
I've observed something strange about property docstrings and I'm wondering if anyone here can clarify what's going on: if I create a class derived from property, the docstrings of the instances end up being that of the derived class, not the docstring passed into the prope