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

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

src/a/r/archetypes.schemaextender-2.1.3/archetypes/schemaextender/extender.py   archetypes.schemaextender(Download)
    order = None
    for name, extender in extenders:
        if IBrowserLayerAwareExtender.providedBy(extender) and \
           (not has_plone_browserlayer or \
           extender.layer not in registered_layers()):
    if len(modifiers) > 0:
        for name, modifier in modifiers:
            if IBrowserLayerAwareExtender.providedBy(modifier) and \
               (not has_plone_browserlayer or \
               modifier.layer not in registered_layers()):

src/a/r/archetypes.schematuning-1.2/src/archetypes/schematuning/patch.py   archetypes.schematuning(Download)
        for name, adapter in getAdapters((obj,), ISchemaExtender):
            adapters.append(name)
            if IBrowserLayerAwareExtender.providedBy(adapter):
                layers.append(adapter.layer)