]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove unused variable from `dis._find_imports` (#100396)
authorNikita Sobolev <mail@sobolevn.me>
Wed, 21 Dec 2022 16:55:02 +0000 (19:55 +0300)
committerGitHub <noreply@github.com>
Wed, 21 Dec 2022 16:55:02 +0000 (22:25 +0530)
Lib/dis.py

index 523bd01d929565afb418580bbfa69737fccbe503..76104c6098d40c2f0534521176178ee1ade30820 100644 (file)
@@ -666,7 +666,6 @@ def _find_imports(co):
     the corresponding args to __import__.
     """
     IMPORT_NAME = opmap['IMPORT_NAME']
-    LOAD_CONST = opmap['LOAD_CONST']
 
     consts = co.co_consts
     names = co.co_names