diff options
author | Benjamin Peterson <benjamin@python.org> | 2010-09-25 03:25:42 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2010-09-25 03:25:42 +0000 |
commit | aa7fbd956451b37f794eb50da9738b970a6f73cb (patch) | |
tree | 5f5a590364b47d00bb90d5884b72b4bee22722ef /Python/ceval.c | |
parent | 81437c90253c5862791781613305d920e8e9c53b (diff) | |
download | cpython-git-aa7fbd956451b37f794eb50da9738b970a6f73cb.tar.gz |
revert r85003, poorly considered; breaks tests
Diffstat (limited to 'Python/ceval.c')
-rw-r--r-- | Python/ceval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index 84781be32f..48b5678652 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -3104,7 +3104,7 @@ PyEval_EvalCodeEx(PyCodeObject *co, PyObject *globals, PyObject *locals, defcount ? "at most" : "exactly", co->co_argcount, co->co_argcount == 1 ? "" : "s", - argcount); + argcount + kwcount); goto fail; } n = co->co_argcount; |