diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-08-23 08:40:42 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-08-23 08:40:42 (GMT) |
commit | b2628b0f37619cd266e35ad69b729f340c5eaaf6 (patch) | |
tree | ee49cc84393645dacd6cea4deda85fceb33931d8 /Lib/pydoc.py | |
parent | 040d7ca498c68153abb0387a8f900176ea08e2bb (diff) | |
download | cpython-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.
Diffstat (limited to 'Lib/pydoc.py')
-rwxr-xr-x | Lib/pydoc.py | 3 |
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 |