diff options
author | kcatss <kcats9731@gmail.com> | 2024-01-18 11:27:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-18 11:27:44 (GMT) |
commit | a571a2fd3fdaeafdfd71f3d80ed5a3b22b63d0f7 (patch) | |
tree | cc089d8bfeac34767201ffadd803814784efd919 /Objects | |
parent | 311d1e2701037952eaf75f993be76f3092c1f01c (diff) | |
download | cpython-a571a2fd3fdaeafdfd71f3d80ed5a3b22b63d0f7.zip cpython-a571a2fd3fdaeafdfd71f3d80ed5a3b22b63d0f7.tar.gz cpython-a571a2fd3fdaeafdfd71f3d80ed5a3b22b63d0f7.tar.bz2 |
gh-114050: Fix crash when more than two arguments are passed to int() (GH-114067)
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/longobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c index fae70dd..e655ba1 100644 --- a/Objects/longobject.c +++ b/Objects/longobject.c @@ -6171,7 +6171,7 @@ long_vectorcall(PyObject *type, PyObject * const*args, return long_new_impl(_PyType_CAST(type), args[0], args[1]); default: return PyErr_Format(PyExc_TypeError, - "int expected at most 2 argument%s, got %zd", + "int expected at most 2 arguments, got %zd", nargs); } } |