diff options
Diffstat (limited to 'Modules/_io/clinic/winconsoleio.c.h')
-rw-r--r-- | Modules/_io/clinic/winconsoleio.c.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Modules/_io/clinic/winconsoleio.c.h b/Modules/_io/clinic/winconsoleio.c.h index 03ddae3..9415345 100644 --- a/Modules/_io/clinic/winconsoleio.c.h +++ b/Modules/_io/clinic/winconsoleio.c.h @@ -215,15 +215,11 @@ static PyObject * _io__WindowsConsoleIO_read_impl(winconsoleio *self, Py_ssize_t size); static PyObject * -_io__WindowsConsoleIO_read(winconsoleio *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) +_io__WindowsConsoleIO_read(winconsoleio *self, PyObject **args, Py_ssize_t nargs) { PyObject *return_value = NULL; Py_ssize_t size = -1; - if (!_PyArg_NoStackKeywords("read", kwnames)) { - goto exit; - } - if (!_PyArg_ParseStack(args, nargs, "|O&:read", _Py_convert_optional_to_ssize_t, &size)) { goto exit; @@ -332,4 +328,4 @@ _io__WindowsConsoleIO_isatty(winconsoleio *self, PyObject *Py_UNUSED(ignored)) #ifndef _IO__WINDOWSCONSOLEIO_ISATTY_METHODDEF #define _IO__WINDOWSCONSOLEIO_ISATTY_METHODDEF #endif /* !defined(_IO__WINDOWSCONSOLEIO_ISATTY_METHODDEF) */ -/*[clinic end generated code: output=3bbf6f893a58f476 input=a9049054013a1b77]*/ +/*[clinic end generated code: output=7f74992fcd5bd89d input=a9049054013a1b77]*/ |