From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 5 Sep 2025 08:02:21 +0000 (+0200) Subject: [3.14] gh-138516: fix typo in OrderedDict exception msg (GH-138517) (#138523) X-Git-Tag: v3.14.0rc3~91 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5086a1e8a0cbca299421469b1e68674aaed0dd17;p=thirdparty%2FPython%2Fcpython.git [3.14] gh-138516: fix typo in OrderedDict exception msg (GH-138517) (#138523) gh-138516: fix typo in OrderedDict exception msg (GH-138517) (cherry picked from commit e9c2a357fba72e46e965ecaa54e78be69c6c5d6b) Co-authored-by: asas1asas200 --- diff --git a/Objects/odictobject.c b/Objects/odictobject.c index 02fcbbaa0d45..896e6e3c30f9 100644 --- a/Objects/odictobject.c +++ b/Objects/odictobject.c @@ -1517,7 +1517,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; }