This commit is contained in:
Kovid Goyal
2026-01-06 07:38:29 +05:30
parent c8befd2f03
commit 1e915f5b00
+1 -1
View File
@@ -16,7 +16,7 @@ def printf(*args, **kw):
sys.stdout.flush()
def download_with_retry(url: str | Request, count: int = 5) -> bytes:
def download_with_retry(url: 'str | Request', count: int = 5) -> bytes:
for i in range(count):
try:
print('Downloading', getattr(url, 'full_url', url), flush=True)