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

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

src/z/c/zc.relation-1.0/src/zc/relation/searchindex.py   zc.relation(Download)
    def copy(self, catalog):
        res = self.__class__.__new__(self.__class__)
        if self.index is not None:
            res.catalog = catalog
            res.index = BTrees.family32.OO.BTree()
            raise ValueError('catalog already set')
        self.catalog = catalog
        self.index = BTrees.family32.OO.BTree()
        self.sourceAdded(catalog)
        # name, query_names, static_values, maxDepth, filter, queryFactory