mirror of https://github.com/python/cpython
#13665: s/string/bytes/ in error message.
This commit is contained in:
parent
6e35d417f7
commit
acd5f7bceb
|
@ -1372,7 +1372,7 @@ z_set(void *ptr, PyObject *value, Py_ssize_t size)
|
|||
_RET(value);
|
||||
}
|
||||
PyErr_Format(PyExc_TypeError,
|
||||
"string or integer address expected instead of %s instance",
|
||||
"bytes or integer address expected instead of %s instance",
|
||||
value->ob_type->tp_name);
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue