Commit 03dc51a9 authored by Andreas Jung's avatar Andreas Jung

Removed comment one should not pass None as arguments to

weightedIntersection|Union(). That's a contradiction to the
documentation and the implementation.
parent 9ae43624
......@@ -249,8 +249,8 @@ class IIMerge(IMerge):
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.
"""
def weightedIntersection(c1, c2, weight1=1, weight2=1):
......@@ -280,8 +280,7 @@ class IIMerge(IMerge):
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.
"""
###############################################################
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment