[Python-bugs-list] [ python-Bugs-463384 ] pydoc vs data docstrings

noreply@sourceforge.net noreply@sourceforge.net
Tue, 25 Sep 2001 00:06:57 -0700


Bugs item #463384, was opened at 2001-09-20 15:29
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=463384&group_id=5470

Category: Python Library
Group: Python 2.2
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Tim Peters (tim_one)
Assigned to: Tim Peters (tim_one)
Summary: pydoc vs data docstrings

Initial Comment:
As of today, *some* kinds of descr-based data 
attributes can (and do) have docstrings (like 
complex.imag, although not 6j.imag).  Of course pydoc 
doesn't know that's possible, so they never get 
displayed now.  They should.

----------------------------------------------------------------------

>Comment By: Tim Peters (tim_one)
Date: 2001-09-25 00:06

Message:
Logged In: YES 
user_id=31435

pydoc now displays data docstrings when it can.  The 
implementation of property() was also changed so that a 
docstring can be given to a property (this wasn't possible 
before); pydoc was also changed to display the new property 
docstrings (when non-None).

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=463384&group_id=5470