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: help("exec") doesn't work
Type: Stage:
Components: Library (Lib) Versions: Python 2.3
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: tlynn
Priority: low Keywords:

Created on 2004-02-23 21:18 by tlynn, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg20124 - (view) Author: Tom Lynn (tlynn) Date: 2004-02-23 21:18
(I get this behaviour on Win2k and two Linux installs.)

Python 2.3.2 (#3, Nov 30 2003, 19:53:06)
[GCC 3.1] on linux2
Type "help", "copyright", "credits" or "license" for more 
information.
>>> help("eval")
Help on built-in function eval:

eval(...)
    eval(source[, globals[, locals]]) -> value

    Evaluate the source in the context of globals and 
locals.
    The source may be a string representing a Python 
expression
    or a code object as returned by compile().
    The globals and locals are dictionaries, defaulting to 
the current
    globals and locals.  If only globals is given, locals 
defaults to it.

>>> help("exec")

Sorry, topic and keyword documentation is not available 
because the Python
HTML documentation files could not be found.  If you 
have installed them,
please set the environment variable PYTHONDOCS to 
indicate their location.

>>>
msg20125 - (view) Author: Tom Lynn (tlynn) Date: 2004-02-23 21:27
Logged In: YES 
user_id=915320

">>> import keyword
>>> for word in keyword.kwlist: print word; help(word)
...
and

Sorry, topic and keyword "...
(further sorrow ensues for all the other keywords too)
msg20126 - (view) Author: Tom Lynn (tlynn) Date: 2004-02-23 21:35
Logged In: YES 
user_id=915320

Doh.  Ok, so I feel stupid.
History
Date User Action Args
2022-04-11 14:56:02adminsetgithub: 39978
2004-02-23 21:18:09tlynncreate