Feature Requests item #1572210, was opened at 2006-10-06 11:06
Message generated for change (Comment added) made by jimjjewett
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: Jim Jewett (jimjjewett)
Date: 2006-10-06 12:26

Message:
Logged In: YES 
user_id=764593

No, it doesn't -- but putting the keyword in quotes does at 
least change the error message to saying that topic and 
keyword documentation is not available because the Python 
HTML documentation files could not be found.  

I'm using Windows XP, the 2.4 and 2.5 binaries from 
python.org, if I changed anything it was just the install 
directory to be Python2.5 (or 2.4 for 2.4))

The documentation (as a chm file) is found by the F1 key.  
Is this likely to be a windows build issue?


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

Comment By: Georg Brandl (gbrandl)
Date: 2006-10-06 11: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
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to