From: INADA Naoki Date: Mon, 22 Jan 2018 07:45:31 +0000 (+0900) Subject: urllib.request: Remove unused import (GH-5268) X-Git-Tag: v3.7.0b1~141 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=579e0b80b953b8a47385bc50844dbaac45d6f437;p=thirdparty%2FPython%2Fcpython.git urllib.request: Remove unused import (GH-5268) --- diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py index a192d527d8bc..2b769421c56a 100644 --- a/Lib/urllib/request.py +++ b/Lib/urllib/request.py @@ -1792,7 +1792,6 @@ class URLopener: if filename: tfp = open(filename, 'wb') else: - import tempfile garbage, path = splittype(url) garbage, path = splithost(path or "") path, garbage = splitquery(path or "")