[ python-Bugs-971872 ] An apparent bug in help

SourceForge.net noreply at sourceforge.net
Sun Nov 7 20:18:10 CET 2004


Bugs item #971872, was opened at 2004-06-12 23:54
Message generated for change (Settings changed) made by jlgijsbers
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=971872&group_id=5470

Category: Python Library
Group: Python 2.3
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Colin J. Williams (cjwhrh)
Assigned to: Nobody/Anonymous (nobody)
Summary: An apparent bug in help

Initial Comment:
No response on the newsgroup.
-------------------------------------


-------- Original Message --------
Subject: A possible bug with help
Date: Sun, 30 May 2004 09:46:16 -0400
From: Colin J. Williams <cjw at sympatico.ca>
Organization: Bell Sympatico
Newsgroups: comp.lang.python

The interactive function help(object) generally
delivers the doc string
of the object and, in the case of a class, with the doc
strings of the
methods, properties and attributes.

If the object is a property, then help doesn't return
the doc defined
for that property.

For example:

>>> help(m.M.A)

Help on property:

<property object at 0x00A7D8A0>

In this case m is a module, m.M is a class and m.M.A is
a property of M,
defined as:
  A=        property(fget= toArray,
                    doc= 'Deliver the data as an array.')
Colin W.





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

>Comment By: Johannes Gijsbers (jlgijsbers)
Date: 2004-11-07 20:18

Message:
Logged In: YES 
user_id=469548

Fixed by applying patch #1061931.

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

Comment By: Jeroen Vloothuis (slmm)
Date: 2004-11-07 16:03

Message:
Logged In: YES 
user_id=387137

Fixed by patch 1061931

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

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


More information about the Python-bugs-list mailing list