mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
ssl.pyi: fix types of cadata argument (#3063)
This commit is contained in:
committed by
Jelle Zijlstra
parent
1efebf78e4
commit
6258e7ddfd
@@ -51,7 +51,7 @@ if sys.version_info < (3,) or sys.version_info >= (3, 4):
|
||||
def create_default_context(purpose: Any = ..., *,
|
||||
cafile: Optional[str] = ...,
|
||||
capath: Optional[str] = ...,
|
||||
cadata: Optional[str] = ...) -> SSLContext: ...
|
||||
cadata: Union[str, bytes, None] = ...) -> SSLContext: ...
|
||||
|
||||
if sys.version_info >= (3, 4):
|
||||
def _create_unverified_context(protocol: int = ..., *,
|
||||
@@ -62,7 +62,7 @@ if sys.version_info >= (3, 4):
|
||||
keyfile: Optional[str] = ...,
|
||||
cafile: Optional[str] = ...,
|
||||
capath: Optional[str] = ...,
|
||||
cadata: Optional[str] = ...) -> SSLContext: ...
|
||||
cadata: Union[str, bytes, None] = ...) -> SSLContext: ...
|
||||
_create_default_https_context: Callable[..., SSLContext]
|
||||
|
||||
if sys.version_info >= (3, 3):
|
||||
|
||||
Reference in New Issue
Block a user