File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ _PyImportHooks_Init(void)
92
92
_PyInitError
93
93
_PyImportZip_Init (void )
94
94
{
95
- PyObject * path_hooks , * zimpimport ;
95
+ PyObject * path_hooks , * zipimport ;
96
96
int err = 0 ;
97
97
98
98
path_hooks = PySys_GetObject ("path_hooks" );
@@ -104,17 +104,17 @@ _PyImportZip_Init(void)
104
104
if (Py_VerboseFlag )
105
105
PySys_WriteStderr ("# installing zipimport hook\n" );
106
106
107
- zimpimport = PyImport_ImportModule ("zipimport" );
108
- if (zimpimport == NULL ) {
107
+ zipimport = PyImport_ImportModule ("zipimport" );
108
+ if (zipimport == NULL ) {
109
109
PyErr_Clear (); /* No zip import module -- okay */
110
110
if (Py_VerboseFlag )
111
111
PySys_WriteStderr ("# can't import zipimport\n" );
112
112
}
113
113
else {
114
114
_Py_IDENTIFIER (zipimporter );
115
- PyObject * zipimporter = _PyObject_GetAttrId (zimpimport ,
115
+ PyObject * zipimporter = _PyObject_GetAttrId (zipimport ,
116
116
& PyId_zipimporter );
117
- Py_DECREF (zimpimport );
117
+ Py_DECREF (zipimport );
118
118
if (zipimporter == NULL ) {
119
119
PyErr_Clear (); /* No zipimporter object -- okay */
120
120
if (Py_VerboseFlag )
You can’t perform that action at this time.
0 commit comments