diff options
author | INADA Naoki <methane@users.noreply.github.com> | 2018-01-22 07:45:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-22 07:45:31 (GMT) |
commit | 579e0b80b953b8a47385bc50844dbaac45d6f437 (patch) | |
tree | 55b78d9ad8232d537af5deed1b338eae70d48288 /Lib/urllib | |
parent | 3510334361d6d39aad89e4e0d9bccd0695668583 (diff) | |
download | cpython-579e0b80b953b8a47385bc50844dbaac45d6f437.zip cpython-579e0b80b953b8a47385bc50844dbaac45d6f437.tar.gz cpython-579e0b80b953b8a47385bc50844dbaac45d6f437.tar.bz2 |
urllib.request: Remove unused import (GH-5268)
Diffstat (limited to 'Lib/urllib')
-rw-r--r-- | Lib/urllib/request.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py index a192d52..2b76942 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 "") |