]> granicus.if.org Git - python/commitdiff
Added the standard MacOSX location for documentation inside a framework
authorJack Jansen <jack.jansen@cwi.nl>
Fri, 23 Aug 2002 08:40:42 +0000 (08:40 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Fri, 23 Aug 2002 08:40:42 +0000 (08:40 +0000)
to the list of places where pydoc looks for HTML documents.

Lib/pydoc.py

index f6826b4df8b7d5cb32819fd65cb8c1634b826b63..d54bc226b92544a1f8a6d8049999d4a2036f00fb 100755 (executable)
@@ -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