From 782a076362ca1836c2052652b1a3a352dec45186 Mon Sep 17 00:00:00 2001 From: Jay Aljelo Ting <65202977+jayasting98@users.noreply.github.com> Date: Fri, 6 Sep 2024 19:50:55 +0800 Subject: [PATCH] Fix typo in error message misspelling __slotnames__ (GH-115772) --- Objects/typeobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 9dc0ebd1c6a..6740da108ac 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; }