This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: An apparent bug in help
Type: Stage:
Components: Library (Lib) Versions: Python 2.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: cjwhrh, jlgijsbers, slmm
Priority: normal Keywords:

Created on 2004-06-12 21:54 by cjwhrh, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg21172 - (view) Author: Colin J. Williams (cjwhrh) Date: 2004-06-12 21:54
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@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.



msg21173 - (view) Author: Jeroen Vloothuis (slmm) Date: 2004-11-07 15:03
Logged In: YES 
user_id=387137

Fixed by patch 1061931
msg21174 - (view) Author: Johannes Gijsbers (jlgijsbers) * (Python triager) Date: 2004-11-07 19:18
Logged In: YES 
user_id=469548

Fixed by applying patch #1061931.
History
Date User Action Args
2022-04-11 14:56:04adminsetgithub: 40391
2004-06-12 21:54:47cjwhrhcreate