Searched refs:zimpimport (Results 1 – 2 of 2) sorted by relevance
95 PyObject *path_hooks, *zimpimport; in _PyImportZip_Init() local107 zimpimport = PyImport_ImportModule("zipimport"); in _PyImportZip_Init()108 if (zimpimport == NULL) { in _PyImportZip_Init()115 PyObject *zipimporter = _PyObject_GetAttrId(zimpimport, in _PyImportZip_Init()117 Py_DECREF(zimpimport); in _PyImportZip_Init()
202 PyObject *v, *path_hooks = NULL, *zimpimport; in _PyImportHooks_Init() local239 zimpimport = PyImport_ImportModule("zipimport"); in _PyImportHooks_Init()240 if (zimpimport == NULL) { in _PyImportHooks_Init()246 PyObject *zipimporter = PyObject_GetAttrString(zimpimport, in _PyImportHooks_Init()248 Py_DECREF(zimpimport); in _PyImportHooks_Init()