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:
Jack Jansen 2002-08-23 08:40:42 +00:00
parent 040d7ca498
commit b2628b0f37
1 changed files with 2 additions and 1 deletions

View File

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