Files
typeshed/stdlib/opcode.pyi
2021-08-08 11:05:21 +02:00

25 lines
528 B
Python

import sys
from typing import Dict, List, Sequence
cmp_op: Sequence[str]
hasconst: List[int]
hasname: List[int]
hasjrel: List[int]
hasjabs: List[int]
haslocal: List[int]
hascompare: List[int]
hasfree: List[int]
opname: List[str]
opmap: Dict[str, int]
HAVE_ARGUMENT: int
EXTENDED_ARG: int
if sys.version_info >= (3, 8):
def stack_effect(__opcode: int, __oparg: int | None = ..., *, jump: bool | None = ...) -> int: ...
else:
def stack_effect(__opcode: int, __oparg: int | None = ...) -> int: ...
hasnargs: List[int]