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,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

View File

@@ -1,4 +1,2 @@
from typing import List
__version__: str
VERSION: List[str]
VERSION: list[str]