File: opcode.pyi

package info (click to toggle)
mypy 0.470-complete-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,864 kB
  • ctags: 3,264
  • sloc: python: 21,838; makefile: 18
file content (18 lines) | stat: -rw-r--r-- 536 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from typing import List, Dict, Sequence

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 = ...  # Dict[str, int]
HAVE_ARGUMENT = ...  # type: int
EXTENDED_ARG = ...  # type: int
hasnargs = ...  # type: List[int]

def stack_effect(opcode: int, oparg: int = ...) -> int: ...