x
This commit is contained in:
parent
01df7d24c5
commit
f89ba302da
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ from __future__ import annotations
|
|||
import pathlib
|
||||
from pathlib import Path
|
||||
import sys
|
||||
from typing import Union, IO, Sequence
|
||||
from typing import Union, IO, Sequence, Any
|
||||
import io
|
||||
|
||||
PathIsh = Union[Path, str]
|
||||
|
@ -126,7 +126,7 @@ if sys.version_info[:2] >= (3, 8):
|
|||
ZipPathBase = zipfile.Path
|
||||
else:
|
||||
if typing.TYPE_CHECKING:
|
||||
ZipPathBase = pathlib.Path
|
||||
ZipPathBase = Any
|
||||
else:
|
||||
ZipPathBase = object
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue