mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
gh-120417: Remove unused imports in cases_generator (#120622)
This commit is contained in:
parent
2c66318cdc
commit
35b16795d1
11 changed files with 7 additions and 30 deletions
|
@ -4,16 +4,12 @@ Writes the cases to executor_cases.c.h, which is #included in ceval.c.
|
|||
"""
|
||||
|
||||
import argparse
|
||||
import os.path
|
||||
import sys
|
||||
|
||||
from analyzer import (
|
||||
Analysis,
|
||||
Instruction,
|
||||
Uop,
|
||||
Part,
|
||||
analyze_files,
|
||||
Skip,
|
||||
StackItem,
|
||||
analysis_error,
|
||||
)
|
||||
|
@ -28,7 +24,7 @@ from generators_common import (
|
|||
from cwriter import CWriter
|
||||
from typing import TextIO, Iterator
|
||||
from lexer import Token
|
||||
from stack import StackOffset, Stack, SizeMismatch
|
||||
from stack import Stack, SizeMismatch
|
||||
|
||||
DEFAULT_OUTPUT = ROOT / "Python/executor_cases.c.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue