mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Some ssl fixes (#919)
Fix return of wrap_socket. Add read, write, pending to SSLSocket Fix argument to socket.setdefaulttimeout
This commit is contained in:
committed by
Guido van Rossum
parent
06074e1e02
commit
6eca1a04da
@@ -357,5 +357,5 @@ def inet_aton(ip_string: str) -> bytes: ... # ret val 4 bytes in length
|
||||
def inet_ntoa(packed_ip: bytes) -> str: ...
|
||||
def inet_pton(address_family: int, ip_string: str) -> bytes: ...
|
||||
def inet_ntop(address_family: int, packed_ip: bytes) -> str: ...
|
||||
def getdefaulttimeout() -> Union[float, None]: ...
|
||||
def setdefaulttimeout(timeout: float) -> None: ...
|
||||
def getdefaulttimeout() -> Optional[float]: ...
|
||||
def setdefaulttimeout(timeout: Optional[float]) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user