mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-36254: Fix invalid uses of %d in format strings in C. (GH-12264)
This commit is contained in:
parent
10f8ce6688
commit
d53fe5f407
20 changed files with 35 additions and 35 deletions
|
@ -2388,7 +2388,7 @@ tuplegetter_descr_get(PyObject *self, PyObject *obj, PyObject *type)
|
|||
return self;
|
||||
}
|
||||
PyErr_Format(PyExc_TypeError,
|
||||
"descriptor for index '%d' for tuple subclasses "
|
||||
"descriptor for index '%zd' for tuple subclasses "
|
||||
"doesn't apply to '%s' object",
|
||||
index,
|
||||
obj->ob_type->tp_name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue