Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e9c2a35

Browse files
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)

AltStyle によって変換されたページ (->オリジナル) /