File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ _PyImportHooks_Init(void)
9292_PyInitError
9393_PyImportZip_Init (void )
9494{
95- PyObject * path_hooks , * zimpimport ;
95+ PyObject * path_hooks , * zipimport ;
9696 int err = 0 ;
9797
9898 path_hooks = PySys_GetObject ("path_hooks" );
@@ -104,17 +104,17 @@ _PyImportZip_Init(void)
104104 if (Py_VerboseFlag )
105105 PySys_WriteStderr ("# installing zipimport hook\n" );
106106
107- zimpimport = PyImport_ImportModule ("zipimport" );
108- if (zimpimport == NULL ) {
107+ zipimport = PyImport_ImportModule ("zipimport" );
108+ if (zipimport == NULL ) {
109109 PyErr_Clear (); /* No zip import module -- okay */
110110 if (Py_VerboseFlag )
111111 PySys_WriteStderr ("# can't import zipimport\n" );
112112 }
113113 else {
114114 _Py_IDENTIFIER (zipimporter );
115- PyObject * zipimporter = _PyObject_GetAttrId (zimpimport ,
115+ PyObject * zipimporter = _PyObject_GetAttrId (zipimport ,
116116 & PyId_zipimporter );
117- Py_DECREF (zimpimport );
117+ Py_DECREF (zipimport );
118118 if (zipimporter == NULL ) {
119119 PyErr_Clear (); /* No zipimporter object -- okay */
120120 if (Py_VerboseFlag )
You can’t perform that action at this time.
0 commit comments