Searched refs:existing_m (Results 1 – 3 of 3) sorted by relevance
2621 PyObject *path = NULL, *loader = NULL, *existing_m = NULL; in find_module() local2648 existing_m = PyDict_GetItemString(modules_reloading, name); in find_module()2649 if (existing_m != NULL) { in find_module()2652 Py_INCREF(existing_m); in find_module()2653 return existing_m; in find_module()
2728 PyObject *path = NULL, *loader = NULL, *existing_m = NULL; in PyImport_ReloadModule() local2755 existing_m = PyDict_GetItemString(modules_reloading, name); in PyImport_ReloadModule()2756 if (existing_m != NULL) { in PyImport_ReloadModule()2759 Py_INCREF(existing_m); in PyImport_ReloadModule()2760 return existing_m; in PyImport_ReloadModule()