[Python-checkins] python/dist/src/Lib pydoc.py,1.68,1.69
jackjansen@users.sourceforge.net
jackjansen@users.sourceforge.net
Fri, 23 Aug 2002 01:40:46 -0700
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv21205
Modified Files:
pydoc.py
Log Message:
Added the standard MacOSX location for documentation inside a framework
to the list of places where pydoc looks for HTML documents.
Index: pydoc.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/pydoc.py,v
retrieving revision 1.68
retrieving revision 1.69
diff -C2 -d -r1.68 -r1.69
*** pydoc.py 11 Aug 2002 15:11:33 -0000 1.68
--- pydoc.py 23 Aug 2002 08:40:42 -0000 1.69
***************
*** 1500,1504 ****
'/usr/doc/python-' + split(sys.version)[0],
'/usr/doc/python-docs-' + sys.version[:3],
! '/usr/doc/python-' + sys.version[:3]]:
if dir and os.path.isdir(os.path.join(dir, 'lib')):
self.docdir = dir
--- 1500,1505 ----
'/usr/doc/python-' + split(sys.version)[0],
'/usr/doc/python-docs-' + 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