commit | 84076d8a1180a2e5a8d2c7eeaea3f122c8579b27 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Wed Sep 10 22:28:00 2008 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Wed Sep 10 22:28:00 2008 +0000 |
tree | 6b591cc107dea93c52ae360fcea7284e36851269 | |
parent | 05e344954de5f4e55eb49dc44b0f8e1ec272a06c [diff] [blame] |
update asdl_c.py from r66377
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 @@ 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");