Big diff: use lower-case list and dict (#5888)

This commit is contained in:
Akuli authored and GitHub committed 2021-08-08 09:26:35 -07:00
1 parent 11f54c3407
commit ce11072dbe
325 files changed
+2196 -2334

No files matched your search

+3 -3
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):