Fix typo in error message misspelling __slotnames__ (GH-115772)
This commit is contained in:
@@ -6940,7 +6940,7 @@ object_getstate_default(PyObject *obj, int required)
|
||||
iterate over it */
|
||||
if (slotnames_size != PyList_GET_SIZE(slotnames)) {
|
||||
PyErr_Format(PyExc_RuntimeError,
|
||||
"__slotsname__ changed size during iteration");
|
||||
"__slotnames__ changed size during iteration");
|
||||
goto error;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user