[Zope-Checkins] CVS: Zope/lib/python/BTrees - Interfaces.py:1.17
Tim Peters
tim.one@comcast.net
Tue, 25 Jun 2002 16:15:47 -0400
Update of /cvs-repository/Zope/lib/python/BTrees
In directory cvs.zope.org:/tmp/cvs-serv12324
Modified Files:
Interfaces.py
Log Message:
Repaired docs for the weight result of weightedUnion when both inputs
are sets. This just explains what the code actually does; it doesn't
make sense to me, so if it does to you feel encouraged to elaborate (in
the ZCTextIndex code, we never found a use for the weight outputs of
the weighted set ops).
=== Zope/lib/python/BTrees/Interfaces.py 1.16 => 1.17 ===
Else, and hereafter, c1 is not None and c2 is not None.
- If c1 and c2 are both sets, the output is the sum of the weights
- and the (unweighted) union of the sets.
+ If c1 and c2 are both sets, the output is 1 and the (unweighted)
+ union of the sets.
Else the output is 1 and a Bucket whose keys are the union of c1 and
c2's keys, and whose values are::