[pypy-commit] pypy default: Fix translation.
alex_gaynor
noreply at buildbot.pypy.org
Sat Jul 2 06:04:22 CEST 2011
Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch:
Changeset: r45257:826ab6a098e6
Date: 2011-07-01 21:11 -0700
http://bitbucket.org/pypy/pypy/changeset/826ab6a098e6/
Log: Fix translation.
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
@@ -453,7 +453,7 @@
def next_entry(self):
# note that this 'for' loop only runs once, at most
for key, w_value in self.iterator:
- return self.dictimplementation.strategy.wrap(key), w_value
+ return self.space.wrap(key), w_value
else:
return None, None
@@ -495,7 +495,7 @@
def next_entry(self):
# note that this 'for' loop only runs once, at most
for key, w_value in self.iterator:
- return self.dictimplementation.strategy.wrap(key), w_value
+ return self.space.wrap(key), w_value
else:
return None, None
@@ -507,8 +507,8 @@
def next_entry(self):
# note that this 'for' loop only runs once, at most
- for key, w_value in self.iterator:
- return self.dictimplementation.strategy.wrap(key), w_value
+ for w_key, w_value in self.iterator:
+ return w_key, w_value
else:
return None, None
More information about the pypy-commit
mailing list