mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-09 13:02:22 +08:00
Use PEP 570 syntax in third party stubs (#11554)
This commit is contained in:
@@ -30,7 +30,7 @@ class Curl:
|
||||
def errstr(self) -> str: ...
|
||||
def duphandle(self) -> Self: ...
|
||||
def errstr_raw(self) -> bytes: ...
|
||||
def set_ca_certs(self, __value: bytes | str) -> None: ...
|
||||
def set_ca_certs(self, value: bytes | str, /) -> None: ...
|
||||
|
||||
@final
|
||||
class CurlMulti:
|
||||
@@ -43,7 +43,7 @@ class CurlMulti:
|
||||
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: Incomplete, /) -> Incomplete: ...
|
||||
def socket_all(self) -> tuple[int, int]: ...
|
||||
def timeout(self) -> int: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user