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
|
import pathlib
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
import sys
|
import sys
|
||||||
from typing import Union, IO, Sequence
|
from typing import Union, IO, Sequence, Any
|
||||||
import io
|
import io
|
||||||
|
|
||||||
PathIsh = Union[Path, str]
|
PathIsh = Union[Path, str]
|
||||||
|
@ -126,7 +126,7 @@ if sys.version_info[:2] >= (3, 8):
|
||||||
ZipPathBase = zipfile.Path
|
ZipPathBase = zipfile.Path
|
||||||
else:
|
else:
|
||||||
if typing.TYPE_CHECKING:
|
if typing.TYPE_CHECKING:
|
||||||
ZipPathBase = pathlib.Path
|
ZipPathBase = Any
|
||||||
else:
|
else:
|
||||||
ZipPathBase = object
|
ZipPathBase = object
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue