summaryrefslogtreecommitdiffstats
path: root/Lib/ssl.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-05-01 00:38:00 (GMT)
committerGitHub <noreply@github.com>2020-05-01 00:38:00 (GMT)
commiteb0d359b4b0e14552998e7af771a088b4fd01745 (patch)
treea05573f729194e3678fb2bd6b119d165d0b82778 /Lib/ssl.py
parent2935e65c36fab1989bbda19db72c035ea22b044b (diff)
downloadcpython-eb0d359b4b0e14552998e7af771a088b4fd01745.zip
cpython-eb0d359b4b0e14552998e7af771a088b4fd01745.tar.gz
cpython-eb0d359b4b0e14552998e7af771a088b4fd01745.tar.bz2
bpo-40443: Remove unused imports in stdlib (GH-19815)
Diffstat (limited to 'Lib/ssl.py')
-rw-r--r--Lib/ssl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ssl.py b/Lib/ssl.py
index 0726cae..30f4e59 100644
--- a/Lib/ssl.py
+++ b/Lib/ssl.py
@@ -252,7 +252,7 @@ class _TLSMessageType(_IntEnum):
if sys.platform == "win32":
from _ssl import enum_certificates, enum_crls
-from socket import socket, AF_INET, SOCK_STREAM, create_connection
+from socket import socket, SOCK_STREAM, create_connection
from socket import SOL_SOCKET, SO_TYPE
import socket as _socket
import base64 # for DER-to-PEM translation