From: Jack Jansen Date: Fri, 23 Aug 2002 08:40:42 +0000 (+0000) Subject: Added the standard MacOSX location for documentation inside a framework X-Git-Tag: v2.3c1~4328 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b2628b0f37619cd266e35ad69b729f340c5eaaf6;p=thirdparty%2FPython%2Fcpython.git Added the standard MacOSX location for documentation inside a framework to the list of places where pydoc looks for HTML documents. --- diff --git a/Lib/pydoc.py b/Lib/pydoc.py index f6826b4df8b7..d54bc226b925 100755 --- a/Lib/pydoc.py +++ b/Lib/pydoc.py @@ -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