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,6 +1,6 @@
from _typeshed import ReadableBuffer, StrOrBytesPath, WriteableBuffer
from io import FileIO
from typing import Iterable, List
from typing import Iterable
from ..base import AsyncBase
@@ -11,7 +11,7 @@ class _UnknownAsyncBinaryIO(AsyncBase[bytes]):
async def read(self, __size: int = ...) -> bytes: ...
async def readinto(self, __buffer: WriteableBuffer) -> int | None: ...
async def readline(self, __size: int | None = ...) -> bytes: ...
async def readlines(self, __hint: int = ...) -> List[bytes]: ...
async def readlines(self, __hint: int = ...) -> list[bytes]: ...
async def seek(self, __offset: int, __whence: int = ...) -> int: ...
async def seekable(self) -> bool: ...
async def tell(self) -> int: ...

View File

@@ -1,5 +1,5 @@
from _typeshed import StrOrBytesPath
from typing import BinaryIO, Iterable, List, Tuple
from typing import BinaryIO, Iterable, Tuple
from ..base import AsyncBase
@@ -9,7 +9,7 @@ class AsyncTextIOWrapper(AsyncBase[str]):
async def isatty(self) -> bool: ...
async def read(self, __size: int | None = ...) -> str: ...
async def readline(self, __size: int = ...) -> str: ...
async def readlines(self, __hint: int = ...) -> List[str]: ...
async def readlines(self, __hint: int = ...) -> list[str]: ...
async def seek(self, __offset: int, __whence: int = ...) -> int: ...
async def seekable(self) -> bool: ...
async def tell(self) -> int: ...