# Bug report

### Bug description:

There are a few internal methods in the `io.IOBase` which accept no arguemnts in C implementation but the `_pyio.py` method can accept `msg` argument. Is this possible or worth it to fix this in the `_pyio.py` so they have the same signature?
I came across this in `typeshed` where the `msg` argument was optional, but the implementation didn't accept it.

https://github.com/python/cpython/blob/055c739536ad63b55ad7cd0b91ccacc33064fe11/Modules/_io/iobase.c#L835-L839

https://github.com/python/cpython/blob/055c739536ad63b55ad7cd0b91ccacc33064fe11/Lib/_pyio.py#L473
https://github.com/python/cpython/blob/055c739536ad63b55ad7cd0b91ccacc33064fe11/Lib/_pyio.py#L444


### CPython versions tested on:

CPython main branch

### Operating systems tested on:

_No response_
`io.IOBase` internal methods difference in `_pyio.py`
This is a GitHub Issue
repo:cpython
owner:python
Title : `io.IOBase` internal methods difference in `_pyio.py`
Issue date:

--- start body ---
# Bug report

### Bug description:

There are a few internal methods in the `io.IOBase` which accept no arguemnts in C implementation but the `_pyio.py` method can accept `msg` argument. Is this possible or worth it to fix this in the `_pyio.py` so they have the same signature?
I came across this in `typeshed` where the `msg` argument was optional, but the implementation didn't accept it.

https://github.com/python/cpython/blob/055c739536ad63b55ad7cd0b91ccacc33064fe11/Modules/_io/iobase.c#L835-L839

https://github.com/python/cpython/blob/055c739536ad63b55ad7cd0b91ccacc33064fe11/Lib/_pyio.py#L473
https://github.com/python/cpython/blob/055c739536ad63b55ad7cd0b91ccacc33064fe11/Lib/_pyio.py#L444


### CPython versions tested on:

CPython main branch

### Operating systems tested on:

_No response_
--- end body ---
