We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f15058a commit fb3bb8dCopy full SHA for fb3bb8d
1 file changed
Modules/_ctypes/stgdict.c
@@ -288,9 +288,9 @@ MakeAnonFields(PyObject *type)
288
}
289
if (Py_TYPE(descr) != &PyCField_Type) {
290
PyErr_Format(PyExc_AttributeError,
291
- "'%U' is specified in _anonymous_ but not in "
292
- "_fields_",
293
- fname);
+ "an item in _anonymous_ (index %zd) is not "
+ "specified in _fields_",
+ i);
294
Py_DECREF(anon_names);
295
Py_DECREF(descr);
296
return -1;
0 commit comments