This commit is contained in:
Sohel committed 2024-11-20 17:17:14 +01:00
1 parent aa14c170c8
commit 09b4990d6d
5404 files changed
+1184888 -3

No files matched your search

@@ -0,0 +1,11 @@
import os
import sys
from typing import Union
if sys.version_info >= (3, 9):
StrPath = Union[str, os.PathLike[str]]
else:
# PathLike is only subscriptable at runtime in 3.9+
StrPath = Union[str, "os.PathLike[str]"]
@@ -0,0 +1,10 @@
import sys
__all__ = ['ZipPath']
if sys.version_info >= (3, 10):
from zipfile import Path as ZipPath
else:
from zipp import Path as ZipPath