Skip to content

Commit 5086a1e

Browse files
[3.14] pythongh-138516: fix typo in OrderedDict exception msg (pythonGH-138517) (python#138523)
pythongh-138516: fix typo in OrderedDict exception msg (pythonGH-138517) (cherry picked from commit e9c2a35) Co-authored-by: asas1asas200 <[email protected]>
1 parent 66f256d commit 5086a1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/odictobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1517,7 +1517,7 @@ odict_init(PyObject *self, PyObject *args, PyObject *kwds)
15171517
if (len == -1)
15181518
return -1;
15191519
if (len > 1) {
1520-
const char *msg = "expected at most 1 arguments, got %zd";
1520+
const char *msg = "expected at most 1 argument, got %zd";
15211521
PyErr_Format(PyExc_TypeError, msg, len);
15221522
return -1;
15231523
}

0 commit comments

Comments
 (0)