[ python-Bugs-902998 ] help(
SourceForge.net
noreply at sourceforge.net
Mon Feb 23 16:27:10 EST 2004
Bugs item #902998, was opened at 2004-02-23 21:18
Message generated for change (Comment added) made by tlynn
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=902998&group_id=5470
Category: Python Library
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Tom Lynn (tlynn)
Assigned to: Nobody/Anonymous (nobody)
>Summary: help(
Initial Comment:
(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.
>>>
----------------------------------------------------------------------
>Comment By: Tom Lynn (tlynn)
Date: 2004-02-23 21:27
Message:
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)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=902998&group_id=5470
More information about the Python-bugs-list
mailing list