[pypy-commit] pypy virtual-arguments: eh, fix the signature

fijal noreply at buildbot.pypy.org
Sun Jul 15 19:08:16 CEST 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: virtual-arguments
Changeset: r56085:6248e1d913f7
Date: 2012-07-15 19:08 +0200
http://bitbucket.org/pypy/pypy/changeset/6248e1d913f7/

Log:	eh, fix the signature

diff --git a/pypy/objspace/std/dictmultiobject.py b/pypy/objspace/std/dictmultiobject.py
--- a/pypy/objspace/std/dictmultiobject.py
+++ b/pypy/objspace/std/dictmultiobject.py
@@ -511,7 +511,8 @@
     def w_keys(self, w_dict):
         return self.space.newlist_str(self.listview_str(w_dict))
 
-    @jit.look_inside_iff(jit.w_dict_unrolling_heuristic)
+    @jit.look_inside_iff(lambda self, w_dict:
+                         jit.w_dict_unrolling_heuristic(w_dict))
     def view_as_kwargs(self, w_dict):
         d = self.unerase(w_dict.dstorage)
         l = len(d)


More information about the pypy-commit mailing list