This commit is contained in:
Skip Montanaro 2003-02-25 17:48:15 +00:00
parent 12fe72e9df
commit 74b9a7a71f

View File

@ -1140,7 +1140,7 @@ class LineAndFileWrapper:
def _done(self):
# called when the last byte is read from the line. After the
# call, all read methods are delegated to the underlying file
# obhect.
# object.
self._line_consumed = 1
self.read = self._file.read
self.readline = self._file.readline