We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63ceed7 commit a1daaaeCopy full SHA for a1daaae
1 file changed
Modules/_io/iobase.c
@@ -949,7 +949,7 @@ _io__RawIOBase_read_impl(PyObject *self, Py_ssize_t n)
949
goto cleanup;
950
}
951
952
- res = PyObject_CallMethod(b, "resize", "i", bytes_filled);
+ res = PyObject_CallMethod(b, "resize", "n", bytes_filled);
953
if (res != Py_None) {
954
if (res != NULL) {
955
PyErr_Format(PyExc_ValueError,
0 commit comments