From: Jay Aljelo Ting <65202977+jayasting98@users.noreply.github.com> Date: Fri, 6 Sep 2024 11:50:55 +0000 (+0800) Subject: Fix typo in error message misspelling __slotnames__ (GH-115772) X-Git-Tag: v3.14.0a1~564 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=782a076362ca1836c2052652b1a3a352dec45186;p=thirdparty%2FPython%2Fcpython.git Fix typo in error message misspelling __slotnames__ (GH-115772) --- diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 9dc0ebd1c6a8..6740da108ace 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; }