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

@@ -2,7 +2,7 @@ import socket
import sys
import types
from _typeshed import Self
from typing import Any, Iterable, List, Tuple, Type, Union
from typing import Any, Iterable, Tuple, Type, Union
if sys.version_info >= (3, 8):
from typing import SupportsIndex
@@ -58,6 +58,6 @@ def deliver_challenge(connection: Connection, authkey: bytes) -> None: ...
def answer_challenge(connection: Connection, authkey: bytes) -> None: ...
def wait(
object_list: Iterable[Connection | socket.socket | int], timeout: float | None = ...
) -> List[Connection | socket.socket | int]: ...
) -> list[Connection | socket.socket | int]: ...
def Client(address: _Address, family: str | None = ..., authkey: bytes | None = ...) -> Connection: ...
def Pipe(duplex: bool = ...) -> Tuple[Connection, Connection]: ...