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

# BTrees.OIBTree.weightedIntersection

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.
```

```
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
```

```
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
```

```    def weightedIntersection(self):