https://github.com/python/cpython/commit/782a076362ca1836c2052652b1a3a352dec45186
commit: 782a076362ca1836c2052652b1a3a352dec45186
branch: main
author: Jay Aljelo Ting <65202977+jayastin...@users.noreply.github.com>
committer: encukou <encu...@gmail.com>
date: 2024-09-06T13:50:55+02:00
summary:

Fix typo in error message misspelling __slotnames__ (GH-115772)

files:
M Objects/typeobject.c

diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index 9dc0ebd1c6a852..6740da108ace91 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;
             }
 

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: arch...@mail-archive.com

Reply via email to