From 54c25234fea233309d53f6c0f3aa757d509a233a Mon Sep 17 00:00:00 2001 From: asas1asas200 Date: Fri, 5 Sep 2025 14:48:05 +0800 Subject: [PATCH] gh-138516: fix typo in OrderedDict exception msg (GH-138517) (cherry picked from commit e9c2a357fba72e46e965ecaa54e78be69c6c5d6b) Co-authored-by: asas1asas200 --- Objects/odictobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/odictobject.c b/Objects/odictobject.c index 02fcbbaa0d4536..896e6e3c30f9c9 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; }