There was an error while loading. Please reload this page.
1 parent 59c8944 commit b72118eCopy full SHA for b72118e
1 file changed
git/types.py
@@ -11,6 +11,11 @@
11
else:
12
from typing_extensions import Final, Literal, SupportsIndex, TypedDict # noqa: F401
13
14
+if sys.version_info[:2] >= (3, 10):
15
+ from typing import TypeGuard # noqa: F401
16
+else:
17
+ from typing_extensions import TypeGuard # noqa: F401
18
+
19
20
if sys.version_info[:2] < (3, 9):
21
# Python >= 3.6, < 3.9
0 commit comments