https://github.com/python/cpython/commit/f0756f8fa16209c97daeec59d431b77317629d50
commit: f0756f8fa16209c97daeec59d431b77317629d50
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: kumaraditya303 <[email protected]>
date: 2025-09-05T07:19:43Z
summary:

[3.13] gh-138516: fix typo in OrderedDict exception msg (GH-138517) (#138522)

gh-138516: fix typo in OrderedDict exception msg (GH-138517)
(cherry picked from commit e9c2a357fba72e46e965ecaa54e78be69c6c5d6b)

Co-authored-by: asas1asas200 <[email protected]>

files:
M Objects/odictobject.c

diff --git a/Objects/odictobject.c b/Objects/odictobject.c
index cfe8bb49f7a3ad..0cb352b4e09e73 100644
--- a/Objects/odictobject.c
+++ b/Objects/odictobject.c
@@ -1508,7 +1508,7 @@ odict_init(PyObject *self, PyObject *args, PyObject *kwds)
     if (len == -1)
         return -1;
     if (len > 1) {
-        const char *msg = "expected at most 1 arguments, got %zd";
+        const char *msg = "expected at most 1 argument, got %zd";
         PyErr_Format(PyExc_TypeError, msg, len);
         return -1;
     }

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to