mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-03 21:24:31 +03:00
Explicitly import urllib.error to avoid IDE warning
This commit is contained in:
parent
b3fa754e97
commit
e2c267f048
|
@ -463,6 +463,7 @@ def find_msvs(architecture: str) -> dict[str, str] | None:
|
||||||
|
|
||||||
|
|
||||||
def download_dep(url: str, file: str) -> None:
|
def download_dep(url: str, file: str) -> None:
|
||||||
|
import urllib.error
|
||||||
import urllib.request
|
import urllib.request
|
||||||
|
|
||||||
ex = None
|
ex = None
|
||||||
|
|
Loading…
Reference in New Issue
Block a user