]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-138516: fix typo in OrderedDict exception msg (GH-138517) (#138522)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 5 Sep 2025 07:19:43 +0000 (09:19 +0200)
committerGitHub <noreply@github.com>
Fri, 5 Sep 2025 07:19:43 +0000 (07:19 +0000)
gh-138516: fix typo in OrderedDict exception msg (GH-138517)
(cherry picked from commit e9c2a357fba72e46e965ecaa54e78be69c6c5d6b)

Co-authored-by: asas1asas200 <asas1asas200@gmail.com>
Objects/odictobject.c

index cfe8bb49f7a3ad1b0516cfd54da90f9e05b0a7c9..0cb352b4e09e7366761306b230143964f5342325 100644 (file)
@@ -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;
     }