mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Change the last PyErr_Format %s format to %.400s.
This commit is contained in:
parent
55e93964e6
commit
ba98a42a0f
1 changed files with 1 additions and 1 deletions
|
@ -2386,7 +2386,7 @@ call_builtin(func, arg, kw)
|
||||||
Py_DECREF(call);
|
Py_DECREF(call);
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
PyErr_Format(PyExc_TypeError, "call of non-function (type %s)",
|
PyErr_Format(PyExc_TypeError, "call of non-function (type %.400s)",
|
||||||
func->ob_type->tp_name);
|
func->ob_type->tp_name);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue