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

All Samples(8)  |  Call(4)  |  Derive(0)  |  Import(4)
union(o1, o2) -- compute the union of o1 and o2

src/h/u/hurry.query-1.1.1/src/hurry/query/query.py   hurry.query(Download)
$Id: query.py 114320 2010-07-08 08:26:20Z janwijbrand $
"""
from BTrees.IFBTree import weightedIntersection, union, difference, IFBTree
from zope.catalog.catalog import ResultSet
from zope.catalog.field import IFieldIndex
        result = results.pop(0)
        for r in results:
            result = union(result, r)
        return result
 
        result = results.pop(0)
        for r in results:
            result = union(result, r)
        return result
 

src/c/o/collective.notices-1.0/src/collective/notices/catalog.py   collective.notices(Download)
from datetime import datetime
 
from dateutil.tz import gettz
 
from BTrees.IFBTree import weightedIntersection, union, difference, IFSet

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