diff options
| author | Predeactor <predeactor0@gmail.com> | 2022-08-07 18:31:03 +0200 |
|---|---|---|
| committer | Predeactor <predeactor0@gmail.com> | 2022-08-07 18:31:03 +0200 |
| commit | 4236b290ddc2eb224f9ff834a21b373015aad782 (patch) | |
| tree | 838bda52332e319cf64a1964b04b7684c67c9837 | |
| parent | e176e54091f39fd4d1d75ebbfa3d8f3ef8191262 (diff) | |
| download | gitpython-4236b290ddc2eb224f9ff834a21b373015aad782.tar.gz | |
fix: remove bytes type of PathLike
Signed-off-by: Predeactor <predeactor0@gmail.com>
| -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]] |
