From 579e0b80b953b8a47385bc50844dbaac45d6f437 Mon Sep 17 00:00:00 2001 From: INADA Naoki Date: Mon, 22 Jan 2018 16:45:31 +0900 Subject: [PATCH] urllib.request: Remove unused import (GH-5268) --- Lib/urllib/request.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py index a192d527d8b..2b769421c56 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 "")