Author: Maciej Fijalkowski <[email protected]>
Branch: speedup-unpackiterable
Changeset: r56052:227d0a0b4ef2
Date: 2012-07-13 01:52 +0200
http://bitbucket.org/pypy/pypy/changeset/227d0a0b4ef2/

Log:    translation fix

diff --git a/pypy/objspace/std/kwargsdict.py b/pypy/objspace/std/kwargsdict.py
--- a/pypy/objspace/std/kwargsdict.py
+++ b/pypy/objspace/std/kwargsdict.py
@@ -155,8 +155,10 @@
         return space.wrap(key)
 
 def next_item(self):
+    strategy = self.strategy
+    assert isinstance(strategy, KwargsDictStrategy)
     for i in self.iterator:
-        keys, values_w = self.strategy.unerase(
+        keys, values_w = strategy.unerase(
             self.dictimplementation.dstorage)
         return self.space.wrap(keys[i]), values_w[i]
     else:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to