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 e176e54 commit 4236b29Copy full SHA for 4236b29
git/types.py
@@ -40,7 +40,7 @@
40
41
42
if sys.version_info[:2] < (3, 9):
43
- PathLike = Union[str, bytes, os.PathLike]
+ PathLike = Union[str, os.PathLike[str]]
44
else:
45
# os.PathLike only becomes subscriptable from Python 3.9 onwards
46
PathLike = Union[str, bytes, os.PathLike[str], os.PathLike[bytes]]
0 commit comments