mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-01 00:53:23 +08:00
tweak files to fix pytype parsing errors (#1325)
* Don't use "\" to join lines
This commit is contained in:
committed by
Jelle Zijlstra
parent
e8013fd808
commit
ac0b809bf5
@@ -205,11 +205,9 @@ class SSLContext:
|
||||
def load_default_certs(self, purpose: _PurposeType = ...) -> None: ...
|
||||
def load_verify_locations(self, cafile: Optional[str] = ...,
|
||||
capath: Optional[str] = ...,
|
||||
cadata: Union[str, bytes, None] = ...) \
|
||||
-> None: ...
|
||||
cadata: Union[str, bytes, None] = ...) -> None: ...
|
||||
def get_ca_certs(self,
|
||||
binary_form: bool = ...) \
|
||||
-> Union[List[_PeerCertRetDictType], List[bytes]]: ...
|
||||
binary_form: bool = ...) -> Union[List[_PeerCertRetDictType], List[bytes]]: ...
|
||||
else:
|
||||
def load_verify_locations(self,
|
||||
cafile: Optional[str] = ...,
|
||||
@@ -220,8 +218,7 @@ class SSLContext:
|
||||
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: ...
|
||||
server_name_callback: Optional[_SrvnmeCbType]) -> None: ...
|
||||
def load_dh_params(self, dhfile: str) -> None: ...
|
||||
def set_ecdh_curve(self, curve_name: str) -> None: ...
|
||||
def wrap_socket(self, sock: socket.socket, server_side: bool = ...,
|
||||
|
||||
Reference in New Issue
Block a user