Issue #18010: Merge pydoc web search fix from 3.4 into 3.5

This commit is contained in:
Martin Panter 2015-11-06 00:51:38 +00:00
commit 98da9d0e0d
3 changed files with 38 additions and 7 deletions

View file

@ -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):