PyQIODevice: Remove readinto().

Our implementation was broken, and the BufferedIOBase mixin does a better job
at doing this.
This commit is contained in:
Florian Bruhin 2015-05-25 20:44:16 +02:00
parent ba9c782824
commit 35f0b26f4a

View File

@ -300,10 +300,6 @@ class PyQIODevice(io.BufferedIOBase):
def writable(self):
return self._dev.isWritable()
def readinto(self, b):
self._check_open()
return self._dev.read(b, len(b))
def write(self, b):
self._check_open()
num = self._dev.write(b)