Did I find the right examples for you? yes no Crawl my project Python Jobs

All Samples(5) | Call(2) | Derive(0) | Import(3)

weightedIntersection(o1, o2 [, w1, w2]) -- compute the intersection of o1 and o2 w1 and w2 are weights.

src/e/x/experimental.catalogqueryplan-3.2.8/experimental/catalogqueryplan/tests/test_plan.py

**experimental.catalogqueryplan**(Download)

from BTrees.OIBTree import intersection as oiintersection from BTrees.OIBTree import weightedIntersection as oiweightedIntersection from BTrees.OIBTree import difference as oidifference from BTrees.OIBTree import OISet, OITreeSet, OIBTree, OIBucket

def weightedIntersection(self, o1, o2, w1=1, w2=1): return oiweightedIntersection(o1, o2, w1, w2) from BTrees.OIBTree import weightedUnion, union from BTrees.OIBTree import union from BTrees.OIBTree import OIBucket as mkbucket

src/e/x/experimental.btree-1.1/experimental/btree/tests/test_sets.py

**experimental.btree**(Download)

from BTrees.OIBTree import intersection as oiintersection from BTrees.OIBTree import weightedIntersection as oiweightedIntersection from BTrees.OIBTree import difference as oidifference from BTrees.OIBTree import OISet, OITreeSet, OIBTree, OIBucket

def weightedIntersection(self, o1, o2, w1=1, w2=1): return oiweightedIntersection(o1, o2, w1, w2) from BTrees.OIBTree import weightedUnion, union from BTrees.OIBTree import union from BTrees.OIBTree import OIBucket as mkbucket

src/b/t/BTrees-4.0.8/BTrees/tests/test_OIBTree.py

**BTrees**(Download)

def weightedIntersection(self): from BTrees.OIBTree import weightedIntersection return weightedIntersection def union(self):