Author: Maciej Fijalkowski <fij...@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)
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to