mirror of https://github.com/python/cpython.git
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 ........
This commit is contained in:
parent
245c70b12c
commit
75080dab8d
|
@ -595,7 +595,7 @@ def visitModule(self, mod):
|
||||||
if (PyTuple_GET_SIZE(args) > 0) {
|
if (PyTuple_GET_SIZE(args) > 0) {
|
||||||
if (numfields != PyTuple_GET_SIZE(args)) {
|
if (numfields != PyTuple_GET_SIZE(args)) {
|
||||||
PyErr_Format(PyExc_TypeError, "%.400s constructor takes %s"
|
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,
|
Py_TYPE(self)->tp_name,
|
||||||
numfields == 0 ? "" : "either 0 or ",
|
numfields == 0 ? "" : "either 0 or ",
|
||||||
numfields, numfields == 1 ? "" : "s");
|
numfields, numfields == 1 ? "" : "s");
|
||||||
|
|
Loading…
Reference in New Issue