diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-09-10 22:37:34 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-09-10 22:37:34 (GMT) |
commit | 75080dab8dbcebf7816dfe1310dbefe31b99d06b (patch) | |
tree | 4ab7865a7f06ae32399fa8f465149d884cc34f0c | |
parent | 245c70b12c7d03f0c32b1a80781d366db15ebea3 (diff) | |
download | cpython-75080dab8dbcebf7816dfe1310dbefe31b99d06b.zip cpython-75080dab8dbcebf7816dfe1310dbefe31b99d06b.tar.gz cpython-75080dab8dbcebf7816dfe1310dbefe31b99d06b.tar.bz2 |
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
........
-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 a743aac..e1dd95e 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"); |