From 7d9d25dbedfffce61fc76bc7ccbfa9ae901bf56f Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 19 Nov 2020 11:20:57 +0100 Subject: bpo-42403: Fix pyflakes warnings in importlib (GH-23396) Remove unused imports and unused local variables. --- Lib/importlib/util.py | 1 - 1 file changed, 1 deletion(-) (limited to 'Lib/importlib/util.py') diff --git a/Lib/importlib/util.py b/Lib/importlib/util.py index 1e44843a68..98a0fa54df 100644 --- a/Lib/importlib/util.py +++ b/Lib/importlib/util.py @@ -232,7 +232,6 @@ class _LazyModule(types.ModuleType): # Figure out exactly what attributes were mutated between the creation # of the module and now. attrs_then = self.__spec__.loader_state['__dict__'] - original_type = self.__spec__.loader_state['__class__'] attrs_now = self.__dict__ attrs_updated = {} for key, value in attrs_now.items(): -- cgit v1.2.1