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

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
Model a non-persistent product wrapper.
    

src/z/o/Zope-HEAD/src/OFS/Application.py   Zope(Download)
        Application.misc_.__dict__[product_name]=misc_
 
    productObject = FactoryDispatcher.Product(product_name)
    context = ProductContext(productObject, None, product)
 
def install_package(app, module, init_func, raise_exc=None):
    """Installs a Python package like a product."""
    from App.ProductContext import ProductContext
    name = module.__name__
    product = FactoryDispatcher.Product(name)

src/z/o/Zope2-2.13.22/src/OFS/Application.py   Zope2(Download)
            else:
                # avoid any persistent connection
                productObject = FactoryDispatcher.Product(product_name)
                context = ProductContext(productObject, None, product)
 
                                                    app)
        else:
            product = FactoryDispatcher.Product(name)
            app = None