[issue13691] pydoc help (or help('help')) claims to run a help utility; does nothing
Devin Jeanpierre
report at bugs.python.org
Sat Jan 7 03:17:18 CET 2012
Devin Jeanpierre <jeanpierreda at gmail.com> added the comment:
> IMO, help('help') should document the help function, not start an interactive help session (that’d be help()).
Ahhh, that explains it. help('help') isn't ever meant to be called; it's supposed to be:
>>> help()
...
help> help
...
the call to "help" at the help> prompt is equivalent to help('help').
help('help') should do something different, such as say how to use the help function, as you say. Whereas "help> help" makes sense.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13691>
_______________________________________
More information about the Python-bugs-list
mailing list