mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-11 23:50:13 +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
@@ -1,5 +1,5 @@
|
||||
from logging import Logger
|
||||
from typing import Dict, Pattern
|
||||
from typing import Pattern
|
||||
from typing_extensions import TypedDict
|
||||
|
||||
class _FinalResultType(TypedDict):
|
||||
@@ -17,7 +17,7 @@ class UniversalDetector(object):
|
||||
HIGH_BYTE_DETECTOR: Pattern[bytes]
|
||||
ESC_DETECTOR: Pattern[bytes]
|
||||
WIN_BYTE_DETECTOR: Pattern[bytes]
|
||||
ISO_WIN_MAP: Dict[str, str]
|
||||
ISO_WIN_MAP: dict[str, str]
|
||||
|
||||
result: _IntermediateResultType
|
||||
done: bool
|
||||
|
||||
@@ -1,4 +1,2 @@
|
||||
from typing import List
|
||||
|
||||
__version__: str
|
||||
VERSION: List[str]
|
||||
VERSION: list[str]
|
||||
Reference in new issue
Block a user