mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-29 12:58:51 -06:00
refactor: read IO from the typing import line
This commit is contained in:
1 parent
50267e0cd7
commit
5a4e0d4121
1 file changed
-5
@@ -9952,11 +9952,6 @@ def _archive_validator(headers: http.client.HTTPMessage | Mapping[str, str] | No
|
|||||||
return etag if etag and not etag.startswith("W/") else headers.get("Last-Modified", "") or ""
|
return etag if etag and not etag.startswith("W/") else headers.get("Last-Modified", "") or ""
|
||||||
|
|
||||||
|
|
||||||
TYPE_CHECKING = False
|
|
||||||
if TYPE_CHECKING:
|
|
||||||
from typing import IO
|
|
||||||
|
|
||||||
|
|
||||||
class _ArchiveCount:
|
class _ArchiveCount:
|
||||||
"""The bytes one attempt at an archive drew on the progress."""
|
"""The bytes one attempt at an archive drew on the progress."""
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user