Searched refs:loader_type (Results 1 – 3 of 3) sorted by relevance
352 PyObject *filename_obj, *bootstrap, *loader_type = NULL, *loader; in set_main_loader() local362 loader_type = PyObject_GetAttrString(bootstrap, loader_name); in set_main_loader()365 if (loader_type == NULL) { in set_main_loader()369 loader = PyObject_CallFunction(loader_type, "sN", "__main__", filename_obj); in set_main_loader()370 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