[ python-Feature Requests-1572210 ] help(x) for keywords too

SourceForge.net noreply at sourceforge.net
Fri Oct 6 17:59:59 CEST 2006


Feature Requests item #1572210, was opened at 2006-10-06 15:06
Message generated for change (Comment added) made by gbrandl
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1572210&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.6
Status: Open
Resolution: None
Priority: 5
Submitted By: Jim Jewett (jimjjewett)
Assigned to: Nobody/Anonymous (nobody)
Summary: help(x) for keywords too

Initial Comment:
At the interactive prompt, help(object) is very useful.

It would be nice if it also worked on keywords.

"""
>>> help(object)
Help on class object in module __builtin__:

class object
 |  The most base type
"""

vs 

"""
>>> help(with)
SyntaxError: invalid syntax
"""

At the moment, the workaround is to open the 
documentation, pick a document that doesn't seem quite 
right (language reference?), go to the index, and look 
for the keyword.


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

>Comment By: Georg Brandl (gbrandl)
Date: 2006-10-06 15:59

Message:
Logged In: YES 
user_id=849994

Doesn't help("if") work for you?

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

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


More information about the Python-bugs-list mailing list