diff --git a/Objects/typeobject.c b/Objects/typeobject.c index fe3b7b87c8b4b6..a20f19c9266803 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -6271,7 +6271,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; }