gh-120417: Remove unused imports in cases_generator (#120622)

This commit is contained in:
Victor Stinner 2024-06-17 21:58:56 +02:00 committed by GitHub
parent 2c66318cdc
commit 35b16795d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 7 additions and 30 deletions

View file

@ -18,13 +18,12 @@ from generators_common import (
ROOT,
write_header,
emit_tokens,
emit_to,
replace_sync_sp,
)
from cwriter import CWriter
from typing import TextIO, Iterator
from lexer import Token
from stack import Stack, SizeMismatch, UNUSED
from stack import Stack, SizeMismatch
DEFAULT_OUTPUT = ROOT / "Python/optimizer_cases.c.h"
DEFAULT_ABSTRACT_INPUT = (ROOT / "Python/optimizer_bytecodes.c").absolute().as_posix()