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 array import array
from typing import Any, Callable, Deque, Dict, FrozenSet, List, Set, Tuple
from typing import Any, Callable, Deque, FrozenSet, Set, Tuple
_ReprFunc = Callable[[Any], str]
@@ -21,12 +21,12 @@ class Repr:
def repr(self, x: Any) -> str: ...
def repr1(self, x: Any, level: int) -> str: ...
def repr_tuple(self, x: Tuple[Any, ...], level: int) -> str: ...
def repr_list(self, x: List[Any], level: int) -> str: ...
def repr_list(self, x: list[Any], level: int) -> str: ...
def repr_array(self, x: array[Any], level: int) -> str: ...
def repr_set(self, x: Set[Any], level: int) -> str: ...
def repr_frozenset(self, x: FrozenSet[Any], level: int) -> str: ...
def repr_deque(self, x: Deque[Any], level: int) -> str: ...
def repr_dict(self, x: Dict[Any, Any], level: int) -> str: ...
def repr_dict(self, x: dict[Any, Any], level: int) -> str: ...
def repr_str(self, x: str, level: int) -> str: ...
def repr_int(self, x: int, level: int) -> str: ...
def repr_instance(self, x: Any, level: int) -> str: ...