(self, iface, cls, name=None)
Bind an interface to a class
Bind an interface to a class
Bind an interface to a class
def provide(self, iface, cls, name=None):
        "Bind an interface to a class"
        assert issubclass(cls, iface)
        self.provide_factory(iface, cls, name)
def provide ( self , iface , cls , name = None ) : assert issubclass ( cls , iface ) self . provide_factory ( iface , cls , name )