diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-09-10 22:28:00 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-09-10 22:28:00 (GMT) |
commit | 84076d8a1180a2e5a8d2c7eeaea3f122c8579b27 (patch) | |
tree | 6b591cc107dea93c52ae360fcea7284e36851269 /Parser | |
parent | 05e344954de5f4e55eb49dc44b0f8e1ec272a06c (diff) | |
download | cpython-84076d8a1180a2e5a8d2c7eeaea3f122c8579b27.zip cpython-84076d8a1180a2e5a8d2c7eeaea3f122c8579b27.tar.gz cpython-84076d8a1180a2e5a8d2c7eeaea3f122c8579b27.tar.bz2 |
update asdl_c.py from r66377
Diffstat (limited to 'Parser')
-rwxr-xr-x | Parser/asdl_c.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/asdl_c.py b/Parser/asdl_c.py index 25ff424..4613500 100755 --- a/Parser/asdl_c.py +++ b/Parser/asdl_c.py @@ -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"); |