Skip to content

Commit d467f24

Browse files
authored
gh-133656: Remove unused import and private global in Lib/zipimport.py (GH-140325)
1 parent 38d4b43 commit d467f24

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Lib/zipimport.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,12 @@
1010
to Zip archives.
1111
"""
1212

13-
#from importlib import _bootstrap_external
14-
#from importlib import _bootstrap # for _verbose_message
1513
import _frozen_importlib_external as _bootstrap_external
1614
from _frozen_importlib_external import _unpack_uint16, _unpack_uint32, _unpack_uint64
1715
import _frozen_importlib as _bootstrap # for _verbose_message
1816
import _imp # for check_hash_based_pycs
1917
import _io # for open
2018
import marshal # for loads
21-
import sys # for modules
2219
import time # for mktime
2320

2421
__all__ = ['ZipImportError', 'zipimporter']
@@ -34,8 +31,6 @@ class ZipImportError(ImportError):
3431
# _read_directory() cache
3532
_zip_directory_cache = {}
3633

37-
_module_type = type(sys)
38-
3934
END_CENTRAL_DIR_SIZE = 22
4035
END_CENTRAL_DIR_SIZE_64 = 56
4136
END_CENTRAL_DIR_LOCATOR_SIZE_64 = 20

0 commit comments

Comments
 (0)