[Python-bugs-list] [ python-Bugs-501591 ] dir() doc is old
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 09 Jan 2002 18:20:44 -0800
Bugs item #501591, was opened at 2002-01-09 18:20
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=501591&group_id=5470
Category: Documentation
Group: Python 2.2.1 candidate
Status: Open
Resolution: None
Priority: 5
Submitted By: Neal Norwitz (nnorwitz)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: dir() doc is old
Initial Comment:
"Brian Quinlan" <brian@sweetapp.com>
reports on c.l.p that dir() is incorrect in
the library reference. The current doc string
seems to be more accurate:
Return an alphabetized list of names comprising (some
of) the attributes of the given object, and of
attributes reachable from it:
No argument: the names in the current scope.
Module object: the module attributes.
Type or class object: its attributes, and recursively
the attributes of
its bases.
Otherwise: its attributes, its class's attributes, and
recursively the
attributes of its class's base classes.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=501591&group_id=5470