urllib.request: Remove unused import (GH-5268)
This commit is contained in:
parent
3510334361
commit
579e0b80b9
|
@ -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 "")
|
||||
|
|
Loading…
Reference in New Issue