greenio: remove deprecated GreenPipe.xreadlines() method (was broken anyway)

This commit is contained in:
Sergey Shepelev
2012-12-14 17:36:33 +04:00
parent 7aa8cbbfdc
commit 738ac94165

View File

@@ -436,9 +436,6 @@ class GreenPipe(_fileobject):
def __exit__(self, *args):
self.close()
def xreadlines(self, buffer):
return iterator(self)
def readinto(self, buf):
data = self.read(len(buf)) # FIXME could it be done without allocating intermediate?
n = len(data)