mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Add SSLContext.security_level property for Python 3.10 (#9577)
This commit is contained in:
committed by
GitHub
parent
b11e2e37c6
commit
ebba92c986
@@ -378,6 +378,8 @@ class SSLContext:
|
||||
if sys.version_info >= (3, 8):
|
||||
keylog_filename: str
|
||||
post_handshake_auth: bool
|
||||
if sys.version_info >= (3, 10):
|
||||
security_level: int
|
||||
def __new__(cls: type[Self], protocol: int = ..., *args: Any, **kwargs: Any) -> Self: ...
|
||||
def cert_store_stats(self) -> dict[str, int]: ...
|
||||
def load_cert_chain(
|
||||
|
||||
Reference in New Issue
Block a user