Senthil Kumaran added the comment:
You will stumble on that message, only if you give help("module
<somename>") and note that <somename> could be any module in the
PYTHONPATH.
We can change to show the text only if the module is a valid module,
but I think, it is costly do that computation for help text. A better
approach would be:
Modules matching the keyword: <somemodule>
The output can be a list or None.
If you will like to work on a patch, the changes will be in listmodule
function in Lib/pydoc.py
----------
nosy: +orsenthil
title: help() module searcher text is misleading -> help() module searcher text
improvement
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue17158>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com