bpo-36254: Fix invalid uses of %d in format strings in C. (GH-12264)

This commit is contained in:
Serhiy Storchaka 2019-03-13 22:59:55 +02:00 committed by GitHub
parent 10f8ce6688
commit d53fe5f407
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 35 additions and 35 deletions

View file

@ -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);