diff options
-rw-r--r-- | git/types.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/types.py b/git/types.py index adda514d..da938c30 100644 --- a/git/types.py +++ b/git/types.py @@ -40,7 +40,7 @@ else: if sys.version_info[:2] < (3, 9): - PathLike = Union[str, bytes, os.PathLike] + PathLike = Union[str, os.PathLike[str]] else: # os.PathLike only becomes subscriptable from Python 3.9 onwards PathLike = Union[str, bytes, os.PathLike[str], os.PathLike[bytes]] |