mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Use variable annotations everywhere (#2909)
This commit is contained in:
committed by
Sebastian Rittau
parent
b3c76aab49
commit
efb67946f8
@@ -2,22 +2,22 @@ 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]
|
||||
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 = ... # type: Dict[str, int]
|
||||
HAVE_ARGUMENT = ... # type: int
|
||||
EXTENDED_ARG = ... # type: int
|
||||
opmap: Dict[str, int]
|
||||
HAVE_ARGUMENT: int
|
||||
EXTENDED_ARG: 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]
|
||||
hasnargs: List[int]
|
||||
|
||||
Reference in New Issue
Block a user