diff options
author | Sebastian Thiel <sebastian.thiel@icloud.com> | 2021-04-24 10:00:40 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-24 10:00:40 +0800 |
commit | 730177174bbc721fba8fbdcd28aa347b3ad75576 (patch) | |
tree | d9f504fe5a7b0e0c4332ae31b48adfd391d3e7f5 /git/diff.py | |
parent | 4119a576251448793c07ebd080534948cad2f170 (diff) | |
parent | 9448c082b158dcab960d33982e8189f2d2da4729 (diff) | |
download | gitpython-730177174bbc721fba8fbdcd28aa347b3ad75576.tar.gz |
Merge pull request #1218 from mgorny/typing-ext
Use typing-extensions only on Python < 3.8
Diffstat (limited to 'git/diff.py')
-rw-r--r-- | git/diff.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/diff.py b/git/diff.py index deedb635..943916ea 100644 --- a/git/diff.py +++ b/git/diff.py @@ -16,7 +16,7 @@ from .objects.util import mode_str_to_int # typing ------------------------------------------------------------------ from typing import Any, Iterator, List, Match, Optional, Tuple, Type, Union, TYPE_CHECKING -from typing_extensions import Final, Literal +from git.compat.typing import Final, Literal from git.types import TBD if TYPE_CHECKING: |