mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
[3.14] gh-62184: Remove _pyio import of _io.FileIO (gh-134192) (gh-134437)
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.
(cherry picked from commit 0a68068bd2
)
Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
This commit is contained in:
parent
fade04e0f4
commit
17bf6ab0c1
2 changed files with 2 additions and 2 deletions
|
@ -648,8 +648,6 @@ class RawIOBase(IOBase):
|
||||||
self._unsupported("write")
|
self._unsupported("write")
|
||||||
|
|
||||||
io.RawIOBase.register(RawIOBase)
|
io.RawIOBase.register(RawIOBase)
|
||||||
from _io import FileIO
|
|
||||||
RawIOBase.register(FileIO)
|
|
||||||
|
|
||||||
|
|
||||||
class BufferedIOBase(IOBase):
|
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