[Python-checkins] CVS: python/dist/src/Lib pydoc.py,1.40,1.41

Fred L. Drake fdrake@users.sourceforge.net
Mon, 23 Jul 2001 12:48:12 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv2136/Lib

Modified Files:
	pydoc.py 
Log Message:

Oh, ok, so plainpager is probably marginally better.


Index: pydoc.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/pydoc.py,v
retrieving revision 1.40
retrieving revision 1.41
diff -C2 -d -r1.40 -r1.41
*** pydoc.py	2001/07/23 19:44:30	1.40
--- pydoc.py	2001/07/23 19:48:10	1.41
***************
*** 956,960 ****
          return plainpager
      if os.environ.get('TERM') in ['dumb', 'emacs']:
!         return lambda text: sys.stdout.write(text)
      if os.environ.has_key('PAGER'):
          if sys.platform == 'win32': # pipes completely broken in Windows
--- 956,960 ----
          return plainpager
      if os.environ.get('TERM') in ['dumb', 'emacs']:
!         return plainpager
      if os.environ.has_key('PAGER'):
          if sys.platform == 'win32': # pipes completely broken in Windows