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

All Samples(6)  |  Call(3)  |  Derive(0)  |  Import(3)
intersection(o1, o2) -- compute the intersection of o1 and o2

src/p/r/Products.DateRangeInRangeIndex-1.3/src/Products/DateRangeInRangeIndex/zopeindex.py   Products.DateRangeInRangeIndex(Download)
from  persistent import Persistent
from BTrees.IFBTree import (
    multiunion,
    intersection,
)
        res1_2 = self._i_end.apply(query1_2)
 
        res1 = intersection(res1_1, res1_2)
 
        #####################################

src/z/3/z3c.iplocation-0.5.0/src/z3c/iplocation/locator.py   z3c.iplocation(Download)
        toResult = self._ipTo.apply(
            {'between': (ip, None, False, False)})
        result = IFBTree.intersection(fromResult, toResult)
        if not result:
            return default

src/g/e/getpaid.core-0.9.2/src/getpaid/core/order.py   getpaid.core(Download)
from persistent.dict import PersistentDict
 
from BTrees.IFBTree import weightedIntersection, intersection
 
from zope import component

src/b/t/BTrees-4.0.8/BTrees/tests/test_IFBTree.py   BTrees(Download)
    def intersection(self, *args):
        from BTrees.IFBTree import intersection
        return intersection(*args)
 
    def difference(self, *args):