mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +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
|
|
@ -195,7 +195,7 @@ structseq_repr(PyStructSequence *obj)
|
|||
|
||||
cname = typ->tp_members[i].name;
|
||||
if (cname == NULL) {
|
||||
PyErr_Format(PyExc_SystemError, "In structseq_repr(), member %d name is NULL"
|
||||
PyErr_Format(PyExc_SystemError, "In structseq_repr(), member %zd name is NULL"
|
||||
" for type %.500s", i, typ->tp_name);
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue