| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent c6d16d0 commit c6c0812
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -55,12 +55,16 @@ | |||
| 55 | 55 | TYPE_CHECKING, | |
| 56 | 56 | TextIO, | |
| 57 | 57 | Tuple, | |
| 58 | - TypeAlias, | ||
| 59 | 58 | Union, | |
| 60 | 59 | cast, | |
| 61 | 60 | overload, | |
| 62 | 61 | ) | |
| 63 | 62 | ||
| 63 | + if sys.version_info >= (3, 10): | ||
| 64 | + from typing import TypeAlias | ||
| 65 | + else: | ||
| 66 | + from typing_extensions import TypeAlias | ||
| 67 | + | ||
| 64 | 68 | from git.types import Literal, PathLike, TBD | |
| 65 | 69 | ||
| 66 | 70 | if TYPE_CHECKING: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,2 +1,2 @@ | |||
| 1 | 1 | gitdb>=4.0.1,<5 | |
| 2 | - typing-extensions>=3.7.4.3;python_version<"3.8" | ||
| 2 | + typing-extensions>=3.10.0.2;python_version<"3.10" | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments