From: asas1asas200 Date: Fri, 5 Sep 2025 06:48:05 +0000 (+0800) Subject: gh-138516: fix typo in OrderedDict exception msg (#138517) X-Git-Tag: v3.15.0a1~487 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e9c2a357fba72e46e965ecaa54e78be69c6c5d6b;p=thirdparty%2FPython%2Fcpython.git gh-138516: fix typo in OrderedDict exception msg (#138517) --- diff --git a/Objects/odictobject.c b/Objects/odictobject.c index 59a956c6adfa..bcdf94c6c64f 100644 --- a/Objects/odictobject.c +++ b/Objects/odictobject.c @@ -1519,7 +1519,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; }