update asdl_c.py from r66377

This commit is contained in:
Benjamin Peterson 2008-09-10 22:28:00 +00:00
parent 05e344954d
commit 84076d8a11
1 changed files with 1 additions and 1 deletions

View File

@ -596,7 +596,7 @@ ast_type_init(PyObject *self, PyObject *args, PyObject *kw)
if (PyTuple_GET_SIZE(args) > 0) {
if (numfields != PyTuple_GET_SIZE(args)) {
PyErr_Format(PyExc_TypeError, "%.400s constructor takes %s"
"%" PY_FORMAT_SIZE_T "d positional argument%s",
"%zd positional argument%s",
Py_TYPE(self)->tp_name,
numfields == 0 ? "" : "either 0 or ",
numfields, numfields == 1 ? "" : "s");