summaryrefslogtreecommitdiffstats
path: root/Lib/http
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-03-20 08:22:39 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-03-20 08:22:39 (GMT)
commit03ce1c013d20fad2ce9282d2b4211c0fc4c5324b (patch)
tree74d8a04ab8177b87ff1f9be64f321e6ef57c9fbc /Lib/http
parenta69f0f94d3b8a1d97420660070e4694b561a4fb9 (diff)
parent7fa767e517882f4d3503d168d3a4d4caad317752 (diff)
downloadcpython-03ce1c013d20fad2ce9282d2b4211c0fc4c5324b.zip
cpython-03ce1c013d20fad2ce9282d2b4211c0fc4c5324b.tar.gz
cpython-03ce1c013d20fad2ce9282d2b4211c0fc4c5324b.tar.bz2
(Merge 3.4) Issue #20976: pyflakes: Remove unused imports
Diffstat (limited to 'Lib/http')
-rw-r--r--Lib/http/client.py1
-rw-r--r--Lib/http/server.py2
2 files changed, 0 insertions, 3 deletions
diff --git a/Lib/http/client.py b/Lib/http/client.py
index 8ee2101..58b9c3e 100644
--- a/Lib/http/client.py
+++ b/Lib/http/client.py
@@ -73,7 +73,6 @@ import os
import socket
import collections
from urllib.parse import urlsplit
-import warnings
__all__ = ["HTTPResponse", "HTTPConnection",
"HTTPException", "NotConnected", "UnknownProtocol",
diff --git a/Lib/http/server.py b/Lib/http/server.py
index f019bd9..6ce6bda 100644
--- a/Lib/http/server.py
+++ b/Lib/http/server.py
@@ -85,8 +85,6 @@ __version__ = "0.6"
__all__ = ["HTTPServer", "BaseHTTPRequestHandler"]
import html
-import email.message
-import email.parser
import http.client
import io
import mimetypes