mirror of https://github.com/python/cpython
Added the standard MacOSX location for documentation inside a framework
to the list of places where pydoc looks for HTML documents.
This commit is contained in:
parent
040d7ca498
commit
b2628b0f37
|
@ -1499,7 +1499,8 @@ class Helper:
|
|||
'/usr/doc/python-docs-' + split(sys.version)[0],
|
||||
'/usr/doc/python-' + split(sys.version)[0],
|
||||
'/usr/doc/python-docs-' + sys.version[:3],
|
||||
'/usr/doc/python-' + sys.version[:3]]:
|
||||
'/usr/doc/python-' + sys.version[:3],
|
||||
os.path.join(sys.prefix, 'Resources/English.lproj/Documentation')]:
|
||||
if dir and os.path.isdir(os.path.join(dir, 'lib')):
|
||||
self.docdir = dir
|
||||
|
||||
|
|
Loading…
Reference in New Issue