[pypy-svn] pypy default: All other setitem() methods in the same file have this signature.

amauryfa commits-noreply at bitbucket.org
Wed Jan 19 00:59:53 CET 2011


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: 
Changeset: r40915:418cecfdd940
Date: 2011-01-19 00:58 +0100
http://bitbucket.org/pypy/pypy/changeset/418cecfdd940/

Log:	All other setitem() methods in the same file have this signature.
	This fixes test_zrpy.py

diff --git a/pypy/annotation/binaryop.py b/pypy/annotation/binaryop.py
--- a/pypy/annotation/binaryop.py
+++ b/pypy/annotation/binaryop.py
@@ -824,7 +824,7 @@
             raise AnnotatorError("getitem on %r" % pbc)
         return s_ImpossibleValue
 
-    def setitem((pbc, o, s_v)):
+    def setitem((pbc, o), s_value):
         if not pbc.isNone():
             raise AnnotatorError("setitem on %r" % pbc)
 


More information about the Pypy-commit mailing list