Author: Lukas Diekmann <[email protected]>
Branch: set-strategies
Changeset: r49242:24ed09109359
Date: 2011-10-14 14:52 +0200
http://bitbucket.org/pypy/pypy/changeset/24ed09109359/

Log:    unnecessary code

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
@@ -303,9 +303,8 @@
         pass
 
     def copy(self, w_set):
-        strategy = w_set.strategy
         storage = self.erase(None)
-        clone = w_set.from_storage_and_strategy(storage, strategy)
+        clone = w_set.from_storage_and_strategy(storage, self)
         return clone
 
     def add(self, w_set, w_key):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to