~pythonregexp2.7/python/issue2636-01+09-01-01

« back to all changes in this revision

Viewing changes to Python/Python-ast.c

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-09-22 00:02:12 UTC
  • mfrom: (39022.1.34 Regexp-2.7)
  • Revision ID: darklord@timehorse.com-20080922000212-7r0q4f4ugiq57jph
Merged in changes from the Atomic Grouping / Possessive Qualifiers branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
387
387
    if (PyTuple_GET_SIZE(args) > 0) {
388
388
        if (numfields != PyTuple_GET_SIZE(args)) {
389
389
            PyErr_Format(PyExc_TypeError, "%.400s constructor takes %s"
390
 
                         "%" PY_FORMAT_SIZE_T "d positional argument%s",
 
390
                         "%zd positional argument%s",
391
391
                         Py_TYPE(self)->tp_name,
392
392
                         numfields == 0 ? "" : "either 0 or ",
393
393
                         numfields, numfields == 1 ? "" : "s");