mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
Add ssl.PROTOCOL_TLS for Python 2.7 (#3855)
This commit is contained in:
@@ -134,8 +134,7 @@ PROTOCOL_SSLv3: int
|
||||
PROTOCOL_TLSv1: int
|
||||
PROTOCOL_TLSv1_1: int
|
||||
PROTOCOL_TLSv1_2: int
|
||||
if sys.version_info >= (3, 5):
|
||||
PROTOCOL_TLS: int
|
||||
PROTOCOL_TLS: int
|
||||
if sys.version_info >= (3, 6):
|
||||
PROTOCOL_TLS_CLIENT: int
|
||||
PROTOCOL_TLS_SERVER: int
|
||||
|
||||
Reference in New Issue
Block a user