from typing import List, Dict, Optional, Sequence import sys cmp_op = ... # type: Sequence[str] hasconst = ... # type: List[int] hasname = ... # type: List[int] hasjrel = ... # type: List[int] hasjabs = ... # type: List[int] haslocal = ... # type: List[int] hascompare = ... # type: List[int] hasfree = ... # type: List[int] opname = ... # type: List[str] opmap = ... # type: Dict[str, int] HAVE_ARGUMENT = ... # type: int EXTENDED_ARG = ... # type: int if sys.version_info >= (3, 4): def stack_effect(opcode: int, oparg: Optional[int] = ...) -> int: ... if sys.version_info >= (3, 6): hasnargs = ... # type: List[int]