summaryrefslogtreecommitdiffstats
path: root/Objects/typeobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/typeobject.c')
-rw-r--r--Objects/typeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index 9dc0ebd..6740da1 100644
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -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;
}