[Python-checkins] r66379 - python/trunk/Parser/asdl_c.py
benjamin.peterson
python-checkins at python.org
Thu Sep 11 00:28:00 CEST 2008
Author: benjamin.peterson
Date: Thu Sep 11 00:28:00 2008
New Revision: 66379
Log:
update asdl_c.py from r66377
Modified:
python/trunk/Parser/asdl_c.py
Modified: python/trunk/Parser/asdl_c.py
==============================================================================
--- python/trunk/Parser/asdl_c.py (original)
+++ python/trunk/Parser/asdl_c.py Thu Sep 11 00:28:00 2008
@@ -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");
More information about the Python-checkins
mailing list