1 from typing import TYPE_CHECKING, Tuple
4 # TypedDict was introduced in Python 3.8.
6 # TODO: Remove the else block and TYPE_CHECKING check when dropping support
8 from typing import TypedDict
10 class CodingStateMachineDict(TypedDict, total=False):
11 class_table: Tuple[int, ...]
13 state_table: Tuple[int, ...]
14 char_len_table: Tuple[int, ...]
16 language: str # Optional key
19 CodingStateMachineDict = dict