Remove remaining bare Incompletes (#11768)

Enable Y065
This commit is contained in:
Sebastian Rittau
2024-04-16 15:26:14 +02:00
committed by GitHub
parent 7c8e82fe48
commit 7d56cd9a6c
33 changed files with 110 additions and 100 deletions

View File

@@ -17,16 +17,16 @@ class error(Exception): ...
class Curl:
USERPWD: int
def close(self) -> None: ...
def setopt(self, option: int, value: Incomplete) -> None: ...
def setopt(self, option: int, value) -> None: ...
def setopt_string(self, option: int, value: str) -> None: ...
def perform(self) -> None: ...
def perform_rb(self) -> bytes: ...
def perform_rs(self) -> str: ...
def getinfo(self, info: Incomplete) -> Incomplete: ...
def getinfo_raw(self, info: Incomplete) -> Incomplete: ...
def getinfo(self, info): ...
def getinfo_raw(self, info): ...
def reset(self) -> None: ...
def unsetopt(self, option: int) -> Incomplete: ...
def pause(self, bitmask: Incomplete) -> Incomplete: ...
def unsetopt(self, option: int): ...
def pause(self, bitmask): ...
def errstr(self) -> str: ...
def duphandle(self) -> Self: ...
def errstr_raw(self) -> bytes: ...
@@ -37,20 +37,20 @@ class CurlMulti:
def close(self) -> None: ...
def add_handle(self, obj: Curl) -> None: ...
def remove_handle(self, obj: Curl) -> None: ...
def setopt(self, option: int, value: Incomplete) -> None: ...
def setopt(self, option: int, value) -> None: ...
def perform(self) -> tuple[Incomplete, int]: ...
def fdset(self) -> tuple[list[Incomplete], list[Incomplete], list[Incomplete]]: ...
def select(self, timeout: float) -> int: ...
def info_read(self, max_objects: int = ...) -> tuple[int, list[Incomplete], list[Incomplete]]: ...
def socket_action(self, sockfd: int, ev_bitmask: int) -> tuple[int, int]: ...
def assign(self, sockfd: int, socket: Incomplete, /) -> Incomplete: ...
def assign(self, sockfd: int, socket, /): ...
def socket_all(self) -> tuple[int, int]: ...
def timeout(self) -> int: ...
@final
class CurlShare:
def close(self) -> None: ...
def setopt(self, option: int, value: Incomplete) -> Incomplete: ...
def setopt(self, option: int, value): ...
if sys.platform != "darwin":
CURL_VERSION_HTTP3: int