mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-16 19:11:26 +08:00
Big diff: use lower-case list and dict (#5888)
This commit is contained in:
1 parent
11f54c3407
commit
ce11072dbe
325 files changed
+2196
-2334
No files matched your search
+2
-3
@@ -1,5 +1,4 @@
|
||||
import sys
|
||||
from typing import Dict
|
||||
|
||||
ENDMARKER: int
|
||||
NAME: int
|
||||
@@ -62,7 +61,7 @@ OP: int
|
||||
ERRORTOKEN: int
|
||||
N_TOKENS: int
|
||||
NT_OFFSET: int
|
||||
tok_name: Dict[int, str]
|
||||
tok_name: dict[int, str]
|
||||
if sys.version_info >= (3, 7):
|
||||
COMMENT: int
|
||||
NL: int
|
||||
@@ -71,7 +70,7 @@ if sys.version_info >= (3, 8):
|
||||
TYPE_COMMENT: int
|
||||
TYPE_IGNORE: int
|
||||
COLONEQUAL: int
|
||||
EXACT_TOKEN_TYPES: Dict[str, int]
|
||||
EXACT_TOKEN_TYPES: dict[str, int]
|
||||
|
||||
def ISTERMINAL(x: int) -> bool: ...
|
||||
def ISNONTERMINAL(x: int) -> bool: ...
|
||||
|
||||
Reference in new issue
Block a user