8000 gh-62184: Remove _pyio import of _io.FileIO · cmaloney/cpython@9f26a4f · GitHub
[go: up one dir, main page]

Skip to content

Commit 9f26a4f

Browse files
committed
pythongh-62184: Remove _pyio import of _io.FileIO
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.
1 parent f2de1e6 commit 9f26a4f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Lib/_pyio.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -645,8 +645,6 @@ def write(self, b):
645645
self._unsupported("write")
646646

647647
io.RawIOBase.register(RawIOBase)
648-
from _io import FileIO
649-
RawIOBase.register(FileIO)
650648

651649

652650
class BufferedIOBase(IOBase):

0 commit comments

Comments
 (0)
0