Skip to content

Commit e9c2a35

Browse files
authored
gh-138516: fix typo in OrderedDict exception msg (#138517)
1 parent fc0305a commit e9c2a35

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
@@ -1519,7 +1519,7 @@ odict_init(PyObject *self, PyObject *args, PyObject *kwds)
15191519
if (len == -1)
15201520
return -1;
15211521
if (len > 1) {
1522-
const char *msg = "expected at most 1 arguments, got %zd";
1522+
const char *msg = "expected at most 1 argument, got %zd";
15231523
PyErr_Format(PyExc_TypeError, msg, len);
15241524
return -1;
15251525
}

0 commit comments

Comments
 (0)