Skip to content

Commit ebba92c

Browse files
authored
Add SSLContext.security_level property for Python 3.10 (#9577)
1 parent b11e2e3 commit ebba92c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stdlib/ssl.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,8 @@ class SSLContext:
378378
if sys.version_info >= (3, 8):
379379
keylog_filename: str
380380
post_handshake_auth: bool
381+
if sys.version_info >= (3, 10):
382+
security_level: int
381383
def __new__(cls: type[Self], protocol: int = ..., *args: Any, **kwargs: Any) -> Self: ...
382384
def cert_store_stats(self) -> dict[str, int]: ...
383385
def load_cert_chain(

0 commit comments

Comments
 (0)