gh-111178: remove redundant casts for functions with correct signatures (#131673)
This commit is contained in:
@@ -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 */
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user