PyQIODevice: Remove readinto().
Our implementation was broken, and the BufferedIOBase mixin does a better job at doing this.
This commit is contained in:
parent
ba9c782824
commit
35f0b26f4a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user