Searched refs:loader_type (Results 1 – 3 of 3) sorted by relevance
342 PyObject *filename_obj, *bootstrap, *loader_type = NULL, *loader; in set_main_loader() local352 loader_type = PyObject_GetAttrString(bootstrap, loader_name); in set_main_loader()355 if (loader_type == NULL) { in set_main_loader()359 loader = PyObject_CallFunction(loader_type, "sN", "__main__", filename_obj); in set_main_loader()360 Py_DECREF(loader_type); in set_main_loader()
331 def register_loader_type(loader_type, provider_factory): argument338 _provider_factories[loader_type] = provider_factory
1393 ``register_loader_type(loader_type, provider_factory)``1395 `loader_type`. `loader_type` is the type or class of a PEP 302