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 5086a1e

Browse files
miss-islingtonasas1asas200
andauthored
[3.14] gh-138516: fix typo in OrderedDict exception msg (GH-138517) (#138523)
gh-138516: fix typo in OrderedDict exception msg (GH-138517) (cherry picked from commit e9c2a35) Co-authored-by: asas1asas200 <asas1asas200@gmail.com>
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)

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