Big diff: use lower-case list and dict (#5888)

This commit is contained in:
Akuli
2021-08-08 19:26:35 +03:00
committed by GitHub
parent 11f54c3407
commit ce11072dbe
325 changed files with 2196 additions and 2334 deletions

View File

@@ -1,17 +1,17 @@
import sys
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
@@ -21,4 +21,4 @@ if sys.version_info >= (3, 8):
else:
def stack_effect(__opcode: int, __oparg: int | None = ...) -> int: ...
hasnargs: List[int]
hasnargs: list[int]