Commit 633890a9 authored by Ralf Schmitt's avatar Ralf Schmitt

fix readlines method

--HG--
extra : transplant_source : b%0D%F9%87%CB%0DjA%D1%B5%D8%13b%3E%FA%DC%FC%14%F1%8D
parent cb45445e
......@@ -122,7 +122,7 @@ class Input(object):
return self._do_read(self.rfile.readline)
def readlines(self, hint=None):
return self._do_read(self.rfile.readlines, hint)
return self.__iter__()
def __iter__(self):
while 1:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment