From 05ebe6c82b38e3b54c75fe876fd576702a45fe73 Mon Sep 17 00:00:00 2001 From: Jay Aljelo Ting <65202977+jayasting98@users.noreply.github.com> Date: Thu, 22 Feb 2024 00:16:39 +0800 Subject: [PATCH] Fix misspelling of __slotnames__ --- Objects/typeobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }