Author: Lukas Diekmann <[email protected]>
Branch: set-strategies
Changeset: r49230:4edc6447f846
Date: 2011-10-11 15:40 +0200
http://bitbucket.org/pypy/pypy/changeset/4edc6447f846/

Log:    give variables some meaningful names

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
@@ -589,12 +589,10 @@
             return self._isdisjoint_wrapped(w_set, w_other)
 
     def update(self, w_set, w_other):
-
         if self is w_other.strategy:
-            # XXX d_int is a sucky variable name, other should be d_other
-            d_int = self.unerase(w_set.sstorage)
-            other = self.unerase(w_other.sstorage)
-            d_int.update(other)
+            d_set = self.unerase(w_set.sstorage)
+            d_other = self.unerase(w_other.sstorage)
+            d_set.update(d_other)
             return
 
         w_set.switch_to_object_strategy(self.space)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to