urllib.request: Remove unused import (GH-5268)

This commit is contained in:
INADA Naoki 2018-01-22 16:45:31 +09:00 committed by GitHub
parent 3510334361
commit 579e0b80b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -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 "")