@@ -21,11 +21,11 @@ _io__BufferedIOBase_readinto(PyObject *self, PyObject *arg)
2121
2222 if (PyObject_GetBuffer (arg , & buffer , PyBUF_WRITABLE ) < 0 ) {
2323 PyErr_Clear ();
24- _PyArg_BadArgument ("readinto" , 0 , "read-write bytes-like object" , arg );
24+ _PyArg_BadArgument ("readinto" , "argument" , "read-write bytes-like object" , arg );
2525 goto exit ;
2626 }
2727 if (!PyBuffer_IsContiguous (& buffer , 'C' )) {
28- _PyArg_BadArgument ("readinto" , 0 , "contiguous buffer" , arg );
28+ _PyArg_BadArgument ("readinto" , "argument" , "contiguous buffer" , arg );
2929 goto exit ;
3030 }
3131 return_value = _io__BufferedIOBase_readinto_impl (self , & buffer );
@@ -58,11 +58,11 @@ _io__BufferedIOBase_readinto1(PyObject *self, PyObject *arg)
5858
5959 if (PyObject_GetBuffer (arg , & buffer , PyBUF_WRITABLE ) < 0 ) {
6060 PyErr_Clear ();
61- _PyArg_BadArgument ("readinto1" , 0 , "read-write bytes-like object" , arg );
61+ _PyArg_BadArgument ("readinto1" , "argument" , "read-write bytes-like object" , arg );
6262 goto exit ;
6363 }
6464 if (!PyBuffer_IsContiguous (& buffer , 'C' )) {
65- _PyArg_BadArgument ("readinto1" , 0 , "contiguous buffer" , arg );
65+ _PyArg_BadArgument ("readinto1" , "argument" , "contiguous buffer" , arg );
6666 goto exit ;
6767 }
6868 return_value = _io__BufferedIOBase_readinto1_impl (self , & buffer );
@@ -243,11 +243,11 @@ _io__Buffered_readinto(buffered *self, PyObject *arg)
243243
244244 if (PyObject_GetBuffer (arg , & buffer , PyBUF_WRITABLE ) < 0 ) {
245245 PyErr_Clear ();
246- _PyArg_BadArgument ("readinto" , 0 , "read-write bytes-like object" , arg );
246+ _PyArg_BadArgument ("readinto" , "argument" , "read-write bytes-like object" , arg );
247247 goto exit ;
248248 }
249249 if (!PyBuffer_IsContiguous (& buffer , 'C' )) {
250- _PyArg_BadArgument ("readinto" , 0 , "contiguous buffer" , arg );
250+ _PyArg_BadArgument ("readinto" , "argument" , "contiguous buffer" , arg );
251251 goto exit ;
252252 }
253253 return_value = _io__Buffered_readinto_impl (self , & buffer );
@@ -280,11 +280,11 @@ _io__Buffered_readinto1(buffered *self, PyObject *arg)
280280
281281 if (PyObject_GetBuffer (arg , & buffer , PyBUF_WRITABLE ) < 0 ) {
282282 PyErr_Clear ();
283- _PyArg_BadArgument ("readinto1" , 0 , "read-write bytes-like object" , arg );
283+ _PyArg_BadArgument ("readinto1" , "argument" , "read-write bytes-like object" , arg );
284284 goto exit ;
285285 }
286286 if (!PyBuffer_IsContiguous (& buffer , 'C' )) {
287- _PyArg_BadArgument ("readinto1" , 0 , "contiguous buffer" , arg );
287+ _PyArg_BadArgument ("readinto1" , "argument" , "contiguous buffer" , arg );
288288 goto exit ;
289289 }
290290 return_value = _io__Buffered_readinto1_impl (self , & buffer );
@@ -538,7 +538,7 @@ _io_BufferedWriter_write(buffered *self, PyObject *arg)
538538 goto exit ;
539539 }
540540 if (!PyBuffer_IsContiguous (& buffer , 'C' )) {
541- _PyArg_BadArgument ("write" , 0 , "contiguous buffer" , arg );
541+ _PyArg_BadArgument ("write" , "argument" , "contiguous buffer" , arg );
542542 goto exit ;
543543 }
544544 return_value = _io_BufferedWriter_write_impl (self , & buffer );
@@ -672,4 +672,4 @@ _io_BufferedRandom___init__(PyObject *self, PyObject *args, PyObject *kwargs)
672672exit :
673673 return return_value ;
674674}
675- /*[clinic end generated code: output=b22b4aedd53c340a input=a9049054013a1b77]*/
675+ /*[clinic end generated code: output=7246104f6c7d3167 input=a9049054013a1b77]*/
0 commit comments