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,4 +1,4 @@
from typing import Callable, List, Sequence, TypeVar
from typing import Callable, Sequence, TypeVar
_T = TypeVar("_T")
@@ -50,6 +50,6 @@ class Unpacker:
def unpack_string(self) -> bytes: ...
def unpack_opaque(self) -> bytes: ...
def unpack_bytes(self) -> bytes: ...
def unpack_list(self, unpack_item: Callable[[], _T]) -> List[_T]: ...
def unpack_farray(self, n: int, unpack_item: Callable[[], _T]) -> List[_T]: ...
def unpack_array(self, unpack_item: Callable[[], _T]) -> List[_T]: ...
def unpack_list(self, unpack_item: Callable[[], _T]) -> list[_T]: ...
def unpack_farray(self, n: int, unpack_item: Callable[[], _T]) -> list[_T]: ...
def unpack_array(self, unpack_item: Callable[[], _T]) -> list[_T]: ...