gh-111178: remove redundant casts for functions with correct signatures (#131673)

This commit is contained in:
Bénédikt Tran
2025-04-01 17:18:11 +02:00
committed by GitHub
parent 8cd29c2b53
commit edbf7fb129
30 changed files with 96 additions and 101 deletions

View File

@@ -1195,7 +1195,7 @@ static PyMethodDef winconsoleio_methods[] = {
_IO__WINDOWSCONSOLEIO_WRITABLE_METHODDEF
_IO__WINDOWSCONSOLEIO_FILENO_METHODDEF
_IO__WINDOWSCONSOLEIO_ISATTY_METHODDEF
{"_isatty_open_only", (PyCFunction)_io__WindowsConsoleIO_isatty, METH_NOARGS},
{"_isatty_open_only", _io__WindowsConsoleIO_isatty, METH_NOARGS},
{NULL, NULL} /* sentinel */
};