We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4236b29 commit 2303971Copy full SHA for 2303971
git/types.py
@@ -40,10 +40,10 @@
40
41
42
if sys.version_info[:2] < (3, 9):
43
- PathLike = Union[str, os.PathLike[str]]
+ PathLike = Union[str, os.PathLike]
44
else:
45
# os.PathLike only becomes subscriptable from Python 3.9 onwards
46
- PathLike = Union[str, bytes, os.PathLike[str], os.PathLike[bytes]]
+ PathLike = Union[str, os.PathLike[str]]
47
48
if TYPE_CHECKING:
49
from git.repo import Repo
0 commit comments