[pypy-commit] pypy set-strategies: fix needed for translation
l.diekmann
noreply at buildbot.pypy.org
Thu Nov 10 13:52:06 CET 2011
Author: Lukas Diekmann <lukas.diekmann at uni-duesseldorf.de>
Branch: set-strategies
Changeset: r49241:b1d40e572594
Date: 2011-10-14 12:57 +0200
http://bitbucket.org/pypy/pypy/changeset/b1d40e572594/
Log: fix needed for translation
diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py
--- a/pypy/objspace/std/setobject.py
+++ b/pypy/objspace/std/setobject.py
@@ -57,8 +57,8 @@
self.sstorage = strategy.erase(d)
def switch_to_empty_strategy(self):
- self.strategy = self.space.fromcache(EmptySetStrategy)
- self.sstorage = self.strategy.get_empty_storage()
+ self.strategy = strategy = self.space.fromcache(EmptySetStrategy)
+ self.sstorage = strategy.get_empty_storage()
# _____________ strategy methods ________________
More information about the pypy-commit
mailing list