| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,6 +11,11 @@ | |||
| 11 | 11 | else: | |
| 12 | 12 | from typing_extensions import Final, Literal, SupportsIndex, TypedDict # noqa: F401 | |
| 13 | 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 | + | ||
| 14 | 19 | ||
| 15 | 20 | if sys.version_info[:2] < (3, 9): | |
| 16 | 21 | # Python >= 3.6, < 3.9 | |
| Back | FazBrowse Home | New Git URL |
0 commit comments