[Python-checkins] CVS: python/dist/src/Lib codecs.py,1.23,1.23.12.1

Michael Hudson mwh@users.sourceforge.net
Tue, 05 Mar 2002 07:55:27 -0800


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

Modified Files:
      Tag: release22-maint
	codecs.py 
Log Message:
backport loewis' checkin of
    revision 1.24 of codecs.py

Set default value for readlines.sizehint to None. Change needed for 2.2.1
as well.


Index: codecs.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/codecs.py,v
retrieving revision 1.23
retrieving revision 1.23.12.1
diff -C2 -d -r1.23 -r1.23.12.1
*** codecs.py	19 Sep 2001 11:24:48 -0000	1.23
--- codecs.py	5 Mar 2002 15:55:25 -0000	1.23.12.1
***************
*** 253,257 ****
  
  
!     def readlines(self, sizehint=0):
  
          """ Read all lines available on the input stream
--- 253,257 ----
  
  
!     def readlines(self, sizehint=None):
  
          """ Read all lines available on the input stream