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

Guido van Rossum python-dev@python.org
Mon, 1 May 2000 12:17:35 -0400 (EDT)


Update of /projects/cvsroot/python/dist/src/Lib
In directory eric:/projects/python/develop/guido/src/Lib

Modified Files:
	codecs.py 
Log Message:
Marc-Andre Lemburg:

The two methods .readline() and .readlines() in StreamReaderWriter
didn't define the self argument. Found by Tom Emerson.


Index: codecs.py
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Lib/codecs.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** codecs.py	2000/04/13 14:11:21	1.8
--- codecs.py	2000/05/01 16:17:32	1.9
***************
*** 325,333 ****
          return self.reader.read(size)
  
!     def readline(size=None):
  
          return self.reader.readline(size)
  
!     def readlines(sizehint=None):
  
          return self.reader.readlines(sizehint)
--- 325,333 ----
          return self.reader.read(size)
  
!     def readline(self, size=None):
  
          return self.reader.readline(size)
  
!     def readlines(self, sizehint=None):
  
          return self.reader.readlines(sizehint)