diff options
| author | Benjamin Peterson <benjamin@python.org> | 2008-09-10 22:37:34 +0000 |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2008-09-10 22:37:34 +0000 |
| commit | 1edc23b5e12d5f24342ede5606e8b310f7c5c35c (patch) | |
| tree | d54262d5d5cbff02247b4f7bb2e6b01685880b53 /Parser | |
| parent | 29181ab70bc330051fc16fd6fa1351da1c7e5612 (diff) | |
| download | cpython-1edc23b5e12d5f24342ede5606e8b310f7c5c35c.tar.gz | |
Merged revisions 66379 via svnmerge from
svn+ssh://pythondev@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
........
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 a743aac234..e1dd95e7c6 100755 --- a/Parser/asdl_c.py +++ b/Parser/asdl_c.py @@ -595,7 +595,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"); |
