Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f8c691 commit 4e11c46Copy full SHA for 4e11c46
1 file changed
Lib/test/test_pydoc.py
@@ -357,8 +357,9 @@ def get_pydoc_html(module):
357
358
def get_pydoc_link(module):
359
"Returns a documentation web link of a module"
360
+ abspath = os.path.abspath
361
dirname = os.path.dirname
- basedir = dirname(dirname(__file__))
362
+ basedir = dirname(dirname(abspath(__file__)))
363
doc = pydoc.TextDoc()
364
loc = doc.getdocloc(module, basedir=basedir)
365
return loc
0 commit comments