diff options
Diffstat (limited to 'Modules/_io/clinic/textio.c.h')
-rw-r--r-- | Modules/_io/clinic/textio.c.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_io/clinic/textio.c.h b/Modules/_io/clinic/textio.c.h index 46b3eda..4eab136 100644 --- a/Modules/_io/clinic/textio.c.h +++ b/Modules/_io/clinic/textio.c.h @@ -237,7 +237,7 @@ _io_TextIOWrapper_read(textio *self, PyObject **args, Py_ssize_t nargs, PyObject Py_ssize_t n = -1; if (!_PyArg_ParseStack(args, nargs, "|O&:read", - _PyIO_ConvertSsize_t, &n)) { + _Py_convert_optional_to_ssize_t, &n)) { goto exit; } @@ -480,4 +480,4 @@ _io_TextIOWrapper_close(textio *self, PyObject *Py_UNUSED(ignored)) { return _io_TextIOWrapper_close_impl(self); } -/*[clinic end generated code: output=67eba50449900a96 input=a9049054013a1b77]*/ +/*[clinic end generated code: output=8e5c21c88c7c70bc input=a9049054013a1b77]*/ |