benjamin.peterson
2008-09-10 22:37:34 UTC
Author: benjamin.peterson
Date: Thu Sep 11 00:37:34 2008
New Revision: 66380
Log:
Merged revisions 66379 via svnmerge from
svn+ssh://pythondev at svn.python.org/python/trunk
........
r66379 | benjamin.peterson | 2008-09-10 17:28:00 -0500 (Wed, 10 Sep 2008) | 1 line
update asdl_c.py from r66377
........
Modified:
python/branches/py3k/ (props changed)
python/branches/py3k/Parser/asdl_c.py
Modified: python/branches/py3k/Parser/asdl_c.py
==============================================================================
--- python/branches/py3k/Parser/asdl_c.py (original)
+++ python/branches/py3k/Parser/asdl_c.py Thu Sep 11 00:37:34 2008
@@ -595,7 +595,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");
Date: Thu Sep 11 00:37:34 2008
New Revision: 66380
Log:
Merged revisions 66379 via svnmerge from
svn+ssh://pythondev at svn.python.org/python/trunk
........
r66379 | benjamin.peterson | 2008-09-10 17:28:00 -0500 (Wed, 10 Sep 2008) | 1 line
update asdl_c.py from r66377
........
Modified:
python/branches/py3k/ (props changed)
python/branches/py3k/Parser/asdl_c.py
Modified: python/branches/py3k/Parser/asdl_c.py
==============================================================================
--- python/branches/py3k/Parser/asdl_c.py (original)
+++ python/branches/py3k/Parser/asdl_c.py Thu Sep 11 00:37:34 2008
@@ -595,7 +595,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");