There was an error while loading. Please reload this page.
1 parent a154c9e commit e90e6d1Copy full SHA for e90e6d1
1 file changed
Python/import.c
@@ -3827,7 +3827,6 @@ PyImport_ImportModuleLevelObject(PyObject *name, PyObject *globals,
3827
PyObject *abs_name = NULL;
3828
PyObject *final_mod = NULL;
3829
PyObject *mod = NULL;
3830
- PyObject *package = NULL;
3831
PyInterpreterState *interp = tstate->interp;
3832
int has_from;
3833
@@ -3956,7 +3955,6 @@ PyImport_ImportModuleLevelObject(PyObject *name, PyObject *globals,
3956
3955
error:
3957
Py_XDECREF(abs_name);
3958
Py_XDECREF(mod);
3959
- Py_XDECREF(package);
3960
if (final_mod == NULL) {
3961
remove_importlib_frames(tstate);
3962
}
0 commit comments