Author: Lukas Diekmann <[email protected]>
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 ________________
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit