diff options
author | Martin Panter <vadmium+py@gmail.com> | 2015-11-06 00:51:38 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2015-11-06 00:51:38 (GMT) |
commit | 98da9d0e0de8300e1362aacb213e450c977d28dc (patch) | |
tree | 910b479dfe85ebc23dc32630c47a3bd7452c4a8f /Lib/pydoc.py | |
parent | 7931be403d6f616777e4a46cf43ee0bd21374889 (diff) | |
parent | 9ad0aae6566311c6982a20955381cda5a2954519 (diff) | |
download | cpython-98da9d0e0de8300e1362aacb213e450c977d28dc.zip cpython-98da9d0e0de8300e1362aacb213e450c977d28dc.tar.gz cpython-98da9d0e0de8300e1362aacb213e450c977d28dc.tar.bz2 |
Issue #18010: Merge pydoc web search fix from 3.4 into 3.5
Diffstat (limited to 'Lib/pydoc.py')
-rwxr-xr-x | Lib/pydoc.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/pydoc.py b/Lib/pydoc.py index ee558bf..a9c04f0 100755 --- a/Lib/pydoc.py +++ b/Lib/pydoc.py @@ -2359,7 +2359,9 @@ def _url_handler(url, content_type="text/html"): with warnings.catch_warnings(): warnings.filterwarnings('ignore') # ignore problems during import - ModuleScanner().run(callback, key) + def onerror(modname): + pass + ModuleScanner().run(callback, key, onerror=onerror) # format page def bltinlink(name): |