[Zodb-checkins] CVS: Zope/lib/python/BTrees - Interfaces.py:1.10
Andreas Jung
andreas@digicool.com
Fri, 15 Mar 2002 13:25:38 -0500
Update of /cvs-repository/Zope/lib/python/BTrees
In directory cvs.zope.org:/tmp/cvs-serv2093
Modified Files:
Interfaces.py
Log Message:
Removed comment one should not pass None as arguments to
weightedIntersection|Union(). That's a contradiction to the
documentation and the implementation.
=== Zope/lib/python/BTrees/Interfaces.py 1.9 => 1.10 ===
c2 is a set, or the value from c2.
- Note that c1 and c2 must be collections. None may not be
- passed as one of the collections.
+ Note that c1 and c2 must be collections.
+
"""
def weightedIntersection(c1, c2, weight1=1, weight2=1):
@@ -280,8 +280,7 @@
v2 is 0 if the key was not in c2. Otherwise, v2 is 2, if
c2 is a set, or the value from c2.
- Note that c1 and c2 must be collections. None may not be
- passed as one of the collections.
+ Note that c1 and c2 must be collections.
"""
###############################################################