mirror of
https://github.com/python/cpython
synced 2024-10-04 16:04:52 +00:00
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 (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");
|
||||
|
|
Loading…
Reference in a new issue