Author: Carl Friedrich Bolz <cfb...@gmx.de>
Branch: virtual-arguments
Changeset: r54406:6c92c1b370c0
Date: 2012-04-14 14:18 +0200
http://bitbucket.org/pypy/pypy/changeset/6c92c1b370c0/

Log:    small simplification

diff --git a/pypy/interpreter/argument.py b/pypy/interpreter/argument.py
--- a/pypy/interpreter/argument.py
+++ b/pypy/interpreter/argument.py
@@ -455,9 +455,9 @@
         if name is None:
             continue
         j = signature.find_argname(name)
-        if j < 0:
-            continue
-        elif j < input_argcount:
+        # if j == -1 nothing happens, because j < input_argcount and
+        # blindargs > j
+        if j < input_argcount:
             # check that no keyword argument conflicts with these. note
             # that for this purpose we ignore the first blindargs,
             # which were put into place by prepend().  This way,
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to