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

All Samples(8)  |  Call(6)  |  Derive(0)  |  Import(2)
multiunion(seq) -- compute union of a sequence of integer sets.

Each element of seq must be an integer set, or convertible to one
via the set iteration protocol.  The union returned is an IISet.

src/z/c/zc.vault-0.11/src/zc/vault/core.py   zc.vault(Download)
            self._indexBases(bases.values(), source)
            existing = IFBTree.multiunion(
                [data[0] for data in self._bases.values()])
            for i in selected:
                orig = rel = intids.getObject(i)
            self._indexBases(bases)
            existing = IFBTree.multiunion(
                [data[0] for data in self._bases.values()])
            for i in selected:
                if i not in existing:
    def _iterOrphans(self, condition):
        get = self.vault.intids.getObject
        res = set(self._selections)
        res.difference_update(self._iterLinked())
        bases = IFBTree.multiunion([d[0] for d in self._bases.values()])
    def iterUnchangedOrphans(self):
        get = self.vault.intids.getObject
        res = set(self._selections)
        res.difference_update(self._iterLinked())
        bases = IFBTree.multiunion([d[0] for d in self._bases.values()])

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,
)
        ###################################
        # union the three results
        result = multiunion([res1, res2, res3])
 
        return result

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