Remove ssl.SSLContext.__init__ (#8640)

Fixes: #8632
This commit is contained in:
Kevin Kirsche
2022-08-29 08:07:59 -04:00
committed by GitHub
parent e2211cb420
commit 2c7ac0990f

View File

@@ -356,7 +356,6 @@ class SSLContext:
keylog_filename: str
post_handshake_auth: bool
def __new__(cls: type[Self], protocol: int = ..., *args: Any, **kwargs: Any) -> Self: ...
def __init__(self, protocol: int = ...) -> None: ...
def cert_store_stats(self) -> dict[str, int]: ...
def load_cert_chain(
self, certfile: StrOrBytesPath, keyfile: StrOrBytesPath | None = ..., password: _PasswordType | None = ...