[pypy-svn] rev 1105 - pypy/trunk/src/pypy/interpreter

mwh at codespeak.net mwh at codespeak.net
Mon Jul 7 18:30:39 CEST 2003


Author: mwh
Date: Mon Jul  7 18:30:39 2003
New Revision: 1105

Modified:
   pypy/trunk/src/pypy/interpreter/baseobjspace.py
Log:
fix arity of set multimethod

Modified: pypy/trunk/src/pypy/interpreter/baseobjspace.py
==============================================================================
--- pypy/trunk/src/pypy/interpreter/baseobjspace.py	(original)
+++ pypy/trunk/src/pypy/interpreter/baseobjspace.py	Mon Jul  7 18:30:39 2003
@@ -163,6 +163,7 @@
         w_objtype = self.type(w_obj)
         return self.issubtype(w_objtype, w_type)
 
+
 ## Table describing the regular part of the interface of object spaces,
 ## namely all methods which only take w_ arguments and return a w_ result
 ## (if any).  XXX Maybe we should say that these methods must be accessed
@@ -230,7 +231,7 @@
     ('iter',            'iter',      1, ['__iter__']),
     ('call',            'call',      3, ['__call__']),
     ('get',             'get',       3, ['__get__']),
-    ('set',             'set',       2, ['__set__']),
+    ('set',             'set',       3, ['__set__']),
     ('delete',          'delete',    2, ['__delete__']),
     ]
 


More information about the Pypy-commit mailing list