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 f6826b4..d54bc22 100755
--- a/Lib/pydoc.py
+++ b/Lib/pydoc.py
@@ -1499,7 +1499,8 @@
'/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