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

@@ -16,7 +16,6 @@ from typing import (
Counter as Counter,
DefaultDict as DefaultDict,
Deque as Deque,
Dict,
ItemsView,
KeysView,
Mapping,
@@ -72,10 +71,10 @@ OrderedDict = _Alias()
def get_type_hints(
obj: Callable[..., Any],
globalns: Dict[str, Any] | None = ...,
localns: Dict[str, Any] | None = ...,
globalns: dict[str, Any] | None = ...,
localns: dict[str, Any] | None = ...,
include_extras: bool = ...,
) -> Dict[str, Any]: ...
) -> dict[str, Any]: ...
if sys.version_info >= (3, 7):
def get_args(tp: Any) -> Tuple[Any, ...]: ...