]> granicus.if.org Git - python/commitdiff
Merged revisions 66379 via svnmerge from
authorBenjamin Peterson <benjamin@python.org>
Wed, 10 Sep 2008 22:37:34 +0000 (22:37 +0000)
committerBenjamin Peterson <benjamin@python.org>
Wed, 10 Sep 2008 22:37:34 +0000 (22:37 +0000)
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
........

Parser/asdl_c.py

index a743aac2341069c7d8267099e656b63d0f71d3b9..e1dd95e7c6ee2267886ab35d2b662e105e1220e4 100755 (executable)
@@ -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");