mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
gh-62184: Remove _pyio import of _io.FileIO (gh-134192)
This was added in the add of `_io`, isn't used since bpo-21859 when a `_pyio` implementation was added which defines `FileIO` lower down in the file.
This commit is contained in:
parent
5b0e827521
commit
0a68068bd2
2 changed files with 2 additions and 2 deletions
|
|
@ -648,8 +648,6 @@ class RawIOBase(IOBase):
|
|||
self._unsupported("write")
|
||||
|
||||
io.RawIOBase.register(RawIOBase)
|
||||
from _io import FileIO
|
||||
RawIOBase.register(FileIO)
|
||||
|
||||
|
||||
class BufferedIOBase(IOBase):
|
||||
|
|
|
|||
|
|
@ -0,0 +1,2 @@
|
|||
Remove import of C implementation of :class:`io.FileIO` from Python
|
||||
implementation which has its own implementation
|
||||
Loading…
Add table
Add a link
Reference in a new issue