[Checkins] SVN: BTrees/branches/pure_python/ Clarity.

Tres Seaver cvs-admin at zope.org
Tue Dec 4 20:17:48 UTC 2012


Log message for revision 128504:
  Clarity.

Changed:
  _U  BTrees/branches/pure_python/
  U   BTrees/branches/pure_python/BTrees/_base.py

-=-
Modified: BTrees/branches/pure_python/BTrees/_base.py
===================================================================
--- BTrees/branches/pure_python/BTrees/_base.py	2012-12-04 20:17:46 UTC (rev 128503)
+++ BTrees/branches/pure_python/BTrees/_base.py	2012-12-04 20:17:47 UTC (rev 128504)
@@ -1244,7 +1244,7 @@
 def weightedIntersection(set_type, o1, o2, w1=1, w2=1):
     if o1 is None:
         if o2 is None:
-            return 0, o2
+            return 0, None
         return w2, o2
     if o2 is None:
         return w1, o1



More information about the checkins mailing list