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:
Cody Maloney 2025-05-21 11:29:18 -04:00 committed by GitHub
parent 5b0e827521
commit 0a68068bd2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -648,8 +648,6 @@ class RawIOBase(IOBase):
self._unsupported("write")
io.RawIOBase.register(RawIOBase)
from _io import FileIO
RawIOBase.register(FileIO)
class BufferedIOBase(IOBase):

View file

@ -0,0 +1,2 @@
Remove import of C implementation of :class:`io.FileIO` from Python
implementation which has its own implementation