[3.13] gh-62184: Remove _pyio import of _io.FileIO (gh-134192) (gh-134436)

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:
Miss Islington (bot) 2025-05-21 17:55:55 +02:00 committed by GitHub
parent e1e8533a5d
commit 2d11f3e154
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -654,8 +654,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