aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/importlib/machinery.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-11-19 11:20:57 +0100
committerGitHub <noreply@github.com>2020-11-19 11:20:57 +0100
commit7d9d25dbedfffce61fc76bc7ccbfa9ae901bf56f (patch)
treef80e39bddf0850409d05425998ba39146d8702db /Lib/importlib/machinery.py
parentbf9d70a1a5255080b7a5e55f319dfffd5f20fdcd (diff)
downloadcpython-7d9d25dbedfffce61fc76bc7ccbfa9ae901bf56f.tar.gz
cpython-7d9d25dbedfffce61fc76bc7ccbfa9ae901bf56f.zip
bpo-42403: Fix pyflakes warnings in importlib (GH-23396)
Remove unused imports and unused local variables.
Diffstat (limited to 'Lib/importlib/machinery.py')
-rw-r--r--Lib/importlib/machinery.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/importlib/machinery.py b/Lib/importlib/machinery.py
index 1b2b5c9b4f3..9a7757fb6e4 100644
--- a/Lib/importlib/machinery.py
+++ b/Lib/importlib/machinery.py
@@ -1,7 +1,5 @@
"""The machinery of importlib: finders, loaders, hooks, etc."""
-import _imp
-
from ._bootstrap import ModuleSpec
from ._bootstrap import BuiltinImporter
from ._bootstrap import FrozenImporter