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

All Samples(4)  |  Call(3)  |  Derive(0)  |  Import(1)

src/p/r/Products.PTProfiler-1.4/Products/PTProfiler/__init__.py   Products.PTProfiler(Download)
 
# import the profiling machinery and monkeypatch the objects
from ProfilerPatch import ExprProfilerPatch, PTProfilerPatch
from ProfilerPatch import ExprProfilerPatchZ3
from ProfilerPatch import log
        PTProfilerPatch(PageTemplate)
        log('Patching Z2 TALES engine...')
        ExprProfilerPatch('python', PythonExpr)
        ExprProfilerPatch('path', PathExpr)
        ExprProfilerPatch('string', StringExpr)