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

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

src/p/r/Products.AdvancedQuery-3.0.3/Products/AdvancedQuery/eval.py   Products.AdvancedQuery(Download)
from Products.ZCatalog.Lazy import LazyCat, LazyMap
 
from AdvancedQuery import _QueryContext, ISearch, IBTree, _notPassed
from sorting import sort as _sort, normSortSpecs as _normSortSpecs
 
def _eval(query, cat):
  '''evaluate *query* in the context of *cat* (a 'Products.ZCatalog.Catalog.Catalog').'''
  rs = query._eval(_QueryContext(cat))