From: Benjamin Peterson Date: Wed, 10 Sep 2008 22:28:00 +0000 (+0000) Subject: update asdl_c.py from r66377 X-Git-Tag: v2.6rc1~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=84076d8a1180a2e5a8d2c7eeaea3f122c8579b27;p=thirdparty%2FPython%2Fcpython.git update asdl_c.py from r66377 --- diff --git a/Parser/asdl_c.py b/Parser/asdl_c.py index 25ff424408a3..46135009221f 100755 --- a/Parser/asdl_c.py +++ b/Parser/asdl_c.py @@ -596,7 +596,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");