1. Armin Rigo
  2. cpython-withatomic

Commits

Benjamin Peterson  committed a4df490

update asdl_c.py from r66377

  • Participants
  • Parent commits 1454491
  • Branches legacy-trunk

Comments (0)

Files changed (1)

File Parser/asdl_c.py

View file
     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");