mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
[3.13] gh-138516: fix typo in OrderedDict exception msg (GH-138517) (#138522)
gh-138516: fix typo in OrderedDict exception msg (GH-138517)
(cherry picked from commit e9c2a357fb)
Co-authored-by: asas1asas200 <asas1asas200@gmail.com>
This commit is contained in:
parent
08e9794517
commit
f0756f8fa1
1 changed files with 1 additions and 1 deletions
|
|
@ -1508,7 +1508,7 @@ odict_init(PyObject *self, PyObject *args, PyObject *kwds)
|
|||
if (len == -1)
|
||||
return -1;
|
||||
if (len > 1) {
|
||||
const char *msg = "expected at most 1 arguments, got %zd";
|
||||
const char *msg = "expected at most 1 argument, got %zd";
|
||||
PyErr_Format(PyExc_TypeError, msg, len);
|
||||
return -1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue