def register_loader_type(loader_type, provider_factory):
 _provider_factories[loader_type] = provider_factory

def register_loader_type ( loader_type , provider_factory ) : _provider_factories [ loader_type ] = provider_factory
register provider_factory to make providers for loader_type loader_type is the type or class of a pep 302 module .