summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-09-25 03:17:56 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-09-25 03:17:56 (GMT)
commit2af840455e8ac7b88964e7b15f3e7a4e848e1a90 (patch)
treeece4689f63ace8bc6592103d7e3611b89ac6fd43 /Python
parenta3c16785b383f84abf7636a700ef0471b8b1caa5 (diff)
downloadcpython-2af840455e8ac7b88964e7b15f3e7a4e848e1a90.zip
cpython-2af840455e8ac7b88964e7b15f3e7a4e848e1a90.tar.gz
cpython-2af840455e8ac7b88964e7b15f3e7a4e848e1a90.tar.bz2
Merged revisions 85003 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85003 | benjamin.peterson | 2010-09-24 22:14:33 -0500 (Fri, 24 Sep 2010) | 1 line don't count keyword arguments as positional #9943 ........
Diffstat (limited to 'Python')
-rw-r--r--Python/ceval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 673eac2..921cb48 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -3059,7 +3059,7 @@ PyEval_EvalCodeEx(PyCodeObject *co, PyObject *globals, PyObject *locals,
defcount ? "at most" : "exactly",
co->co_argcount,
co->co_argcount == 1 ? "" : "s",
- argcount + kwcount);
+ argcount);
goto fail;
}
n = co->co_argcount;