Issue #16484: Merge pydoc Windows fixes from 3.5

This commit is contained in:
Martin Panter 2016-06-12 04:31:25 +00:00
commit 5285545271
3 changed files with 8 additions and 3 deletions

View file

@ -356,7 +356,7 @@ def get_pydoc_html(module):
def get_pydoc_link(module):
"Returns a documentation web link of a module"
dirname = os.path.dirname
basedir = os.path.join(dirname(dirname(__file__)))
basedir = dirname(dirname(__file__))
doc = pydoc.TextDoc()
loc = doc.getdocloc(module, basedir=basedir)
return loc