[Python-checkins] CVS: python/dist/src/Lib pydoc.py,1.12,1.13
Guido van Rossum
gvanrossum@users.sourceforge.net
Thu, 01 Mar 2001 20:27:10 -0800
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv30400
Modified Files:
pydoc.py
Log Message:
Believe it or not, but "more" on Windows requires "more <file" rather
than "more file". Since tempfilepager() is only used on Windows, it
seems, do this unconditionally -- on Unix, it always invokes something
else.
Index: pydoc.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/pydoc.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** pydoc.py 2001/03/02 02:45:08 1.12
--- pydoc.py 2001/03/02 04:27:08 1.13
***************
*** 836,840 ****
file.close()
try:
! os.system(cmd + ' ' + filename)
finally:
os.unlink(filename)
--- 836,840 ----
file.close()
try:
! os.system(cmd + ' <' + filename)
finally:
os.unlink(filename)