diff Python/ceval.c @ 64935:4cd0edf0b356

revert r85003, poorly considered; breaks tests
author Benjamin Peterson <benjamin@python.org>
date Sat, 25 Sep 2010 03:25:42 +0000
parents c9e299249323
children bf5cfe9a0bb5
line wrap: on
line diff
--- a/Python/ceval.c	Sat Sep 25 03:14:33 2010 +0000
+++ b/Python/ceval.c	Sat Sep 25 03:25:42 2010 +0000
@@ -3104,7 +3104,7 @@
                     defcount ? "at most" : "exactly",
                     co->co_argcount,
                     co->co_argcount == 1 ? "" : "s",
-                    argcount);
+                    argcount + kwcount);
                 goto fail;
             }
             n = co->co_argcount;