mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
fix self in ssl, unittest and multiprocessing/managers (#644)
This commit is contained in:
committed by
Guido van Rossum
parent
b1c545cee6
commit
252a772b67
@@ -219,8 +219,8 @@ class SSLContext:
|
||||
def set_default_verify_paths(self) -> None: ...
|
||||
def set_ciphers(self, ciphers: str) -> None: ...
|
||||
if sys.version_info >= (3, 5):
|
||||
def set_alpn_protocols(protocols: List[str]) -> None: ...
|
||||
def set_npn_protocols(protocols: List[str]) -> None: ...
|
||||
def set_alpn_protocols(self, protocols: List[str]) -> None: ...
|
||||
def set_npn_protocols(self, protocols: List[str]) -> None: ...
|
||||
def set_servername_callback(self,
|
||||
server_name_callback: Optional[_SrvnmeCbType]) \
|
||||
-> None: ...
|
||||
@@ -231,7 +231,7 @@ class SSLContext:
|
||||
suppress_ragged_eofs: bool = ...,
|
||||
server_hostname: Optional[str] = ...) -> 'SSLContext': ...
|
||||
if sys.version_info >= (3, 5):
|
||||
def wrap_bio(incoming: 'MemoryBIO', outgoing: 'MemoryBIO',
|
||||
def wrap_bio(self, incoming: 'MemoryBIO', outgoing: 'MemoryBIO',
|
||||
server_side: bool = ...,
|
||||
server_hostname: Optional[str] = ...) -> 'SSLObject': ...
|
||||
def session_stats(self) -> Dict[str, int]: ...
|
||||
|
||||
Reference in New Issue
Block a user