mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +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
@@ -361,5 +361,5 @@ def inet_aton(ip_string: str) -> str: ... # ret val 4 bytes in length
|
||||
def inet_ntoa(packed_ip: str) -> str: ...
|
||||
def inet_pton(address_family: int, ip_string: str) -> str: ...
|
||||
def inet_ntop(address_family: int, packed_ip: str) -> 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