mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
urllib.request: Remove unused import (GH-5268)
This commit is contained in:
parent
3510334361
commit
579e0b80b9
1 changed files with 0 additions and 1 deletions
|
|
@ -1792,7 +1792,6 @@ def retrieve(self, url, filename=None, reporthook=None, data=None):
|
|||
if filename:
|
||||
tfp = open(filename, 'wb')
|
||||
else:
|
||||
import tempfile
|
||||
garbage, path = splittype(url)
|
||||
garbage, path = splithost(path or "")
|
||||
path, garbage = splitquery(path or "")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue