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 @@
# TODO(MichalPokorny): more precise types
from typing import Any, List, Text, Tuple
from typing import Any, Text, Tuple
GLOBAL_ACK_EINTR: int
GLOBAL_ALL: int
@@ -39,9 +39,9 @@ class CurlMulti(object):
def add_handle(self, obj: Curl) -> None: ...
def remove_handle(self, obj: Curl) -> None: ...
def perform(self) -> Tuple[Any, int]: ...
def fdset(self) -> Tuple[List[Any], List[Any], List[Any]]: ...
def fdset(self) -> Tuple[list[Any], list[Any], list[Any]]: ...
def select(self, timeout: float = ...) -> int: ...
def info_read(self, max_objects: int = ...) -> Tuple[int, List[Any], List[Any]]: ...
def info_read(self, max_objects: int = ...) -> Tuple[int, list[Any], list[Any]]: ...
def socket_action(self, sockfd: int, ev_bitmask: int) -> Tuple[int, int]: ...
class CurlShare(object):