mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Use PEP 585 syntax in Python 2, protobuf & _ast stubs, where possible (#6949)
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
from typing import Dict, List, Sequence
|
||||
from typing import 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]
|
||||
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]
|
||||
opmap: dict[str, int]
|
||||
HAVE_ARGUMENT: int
|
||||
EXTENDED_ARG: int
|
||||
|
||||
Reference in New Issue
Block a user