[pypy-commit] pypy speedup-unpackiterable: translation fix
fijal
noreply at buildbot.pypy.org
Fri Jul 13 01:53:02 CEST 2012
Author: Maciej Fijalkowski <fijall at gmail.com>
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:
More information about the pypy-commit
mailing list