Skip to content

Commit 782a076

Browse files
authored
Fix typo in error message misspelling __slotnames__ (GH-115772)
1 parent 853588e commit 782a076

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/typeobject.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -6940,7 +6940,7 @@ object_getstate_default(PyObject *obj, int required)
69406940
iterate over it */
69416941
if (slotnames_size != PyList_GET_SIZE(slotnames)) {
69426942
PyErr_Format(PyExc_RuntimeError,
6943-
"__slotsname__ changed size during iteration");
6943+
"__slotnames__ changed size during iteration");
69446944
goto error;
69456945
}
69466946

0 commit comments

Comments
 (0)