[Patches] [ python-Patches-934356 ] help on re-exported names (bug
925628)
SourceForge.net
noreply at sourceforge.net
Fri Apr 16 16:23:23 EDT 2004
Patches item #934356, was opened at 2004-04-13 13:02
Message generated for change (Comment added) made by jimjjewett
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=934356&group_id=5470
Category: Library (Lib)
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jim Jewett (jimjjewett)
Assigned to: Nobody/Anonymous (nobody)
Summary: help on re-exported names (bug 925628)
Initial Comment:
help(module) only provides help on classes and functions
that were first defined within the module. For wrapper
modules (like re), or partially-in-C modules (like socket)
this is not helpful.
The following patch changes pydoc(module) to document
exactly the names listed in __all__, with a fallback to the
current choices if __all__ is not defined.
----------------------------------------------------------------------
>Comment By: Jim Jewett (jimjjewett)
Date: 2004-04-16 16:23
Message:
Logged In: YES
user_id=764593
Replacing with an improved version. This is a diff to CVS
head; users of Python 2.3 would have to either change the
line numbers or also replace collections.deque. (Setting deque
to list was enough to allow testing.)
[Original patch had a problem with normal modules, but the
exception was caught at a higher level, and *something*
returned, so I didn't notice it at first.]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=934356&group_id=5470
More information about the Patches
mailing list