diff options
Diffstat (limited to 'git')
-rw-r--r-- | git/types.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git/types.py b/git/types.py index da938c30..9064ecbf 100644 --- a/git/types.py +++ b/git/types.py @@ -40,10 +40,10 @@ else: if sys.version_info[:2] < (3, 9): - PathLike = Union[str, os.PathLike[str]] + PathLike = Union[str, os.PathLike] else: # os.PathLike only becomes subscriptable from Python 3.9 onwards - PathLike = Union[str, bytes, os.PathLike[str], os.PathLike[bytes]] + PathLike = Union[str, os.PathLike[str]] if TYPE_CHECKING: from git.repo import Repo |