summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorJay Aljelo Ting <65202977+jayasting98@users.noreply.github.com>2024-09-06 11:50:55 (GMT)
committerGitHub <noreply@github.com>2024-09-06 11:50:55 (GMT)
commit782a076362ca1836c2052652b1a3a352dec45186 (patch)
treee9a44c3c6a205d62d5898274bca7425112ecab0b /Objects
parent853588e24c907be158b3a08601797ea5b47a0eba (diff)
downloadcpython-782a076362ca1836c2052652b1a3a352dec45186.zip
cpython-782a076362ca1836c2052652b1a3a352dec45186.tar.gz
cpython-782a076362ca1836c2052652b1a3a352dec45186.tar.bz2
Fix typo in error message misspelling __slotnames__ (GH-115772)
Diffstat (limited to 'Objects')
-rw-r--r--Objects/typeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index 9dc0ebd..6740da1 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;
}