mirror of https://github.com/python/cpython
Fix typo in error message misspelling __slotnames__ (GH-115772)
This commit is contained in:
parent
853588e24c
commit
782a076362
|
@ -6940,7 +6940,7 @@ object_getstate_default(PyObject *obj, int required)
|
||||||
iterate over it */
|
iterate over it */
|
||||||
if (slotnames_size != PyList_GET_SIZE(slotnames)) {
|
if (slotnames_size != PyList_GET_SIZE(slotnames)) {
|
||||||
PyErr_Format(PyExc_RuntimeError,
|
PyErr_Format(PyExc_RuntimeError,
|
||||||
"__slotsname__ changed size during iteration");
|
"__slotnames__ changed size during iteration");
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue