Skip to content

Commit 3f5927e

Browse files
asas1asas200miss-islington
authored andcommitted
pythongh-138516: fix typo in OrderedDict exception msg (pythonGH-138517)
(cherry picked from commit e9c2a35) Co-authored-by: asas1asas200 <[email protected]>
1 parent 08e9794 commit 3f5927e

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
@@ -1508,7 +1508,7 @@ odict_init(PyObject *self, PyObject *args, PyObject *kwds)
15081508
if (len == -1)
15091509
return -1;
15101510
if (len > 1) {
1511-
const char *msg = "expected at most 1 arguments, got %zd";
1511+
const char *msg = "expected at most 1 argument, got %zd";
15121512
PyErr_Format(PyExc_TypeError, msg, len);
15131513
return -1;
15141514
}

0 commit comments

Comments
 (0)