summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-08-23 08:40:42 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-08-23 08:40:42 (GMT)
commitb2628b0f37619cd266e35ad69b729f340c5eaaf6 (patch)
treeee49cc84393645dacd6cea4deda85fceb33931d8
parent040d7ca498c68153abb0387a8f900176ea08e2bb (diff)
downloadcpython-b2628b0f37619cd266e35ad69b729f340c5eaaf6.zip
cpython-b2628b0f37619cd266e35ad69b729f340c5eaaf6.tar.gz
cpython-b2628b0f37619cd266e35ad69b729f340c5eaaf6.tar.bz2
Added the standard MacOSX location for documentation inside a framework
to the list of places where pydoc looks for HTML documents.
-rwxr-xr-xLib/pydoc.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/pydoc.py b/Lib/pydoc.py
index f6826b4..d54bc22 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