diff options
author | Yobmod <yobmod@gmail.com> | 2021-06-23 02:22:34 +0100 |
---|---|---|
committer | Yobmod <yobmod@gmail.com> | 2021-06-23 02:22:34 +0100 |
commit | 5b6fe83f4d817a3b73b44df16cfb4f96bd4d9904 (patch) | |
tree | e9030835ef3a199a650e9d948c03eea99a09696d /git/diff.py | |
parent | 7ca97dcef3131a11dd5ef41d674bb6bd36608608 (diff) | |
download | gitpython-5b6fe83f4d817a3b73b44df16cfb4f96bd4d9904.tar.gz |
Update typing-extensions version in requirements.txt
Diffstat (limited to 'git/diff.py')
-rw-r--r-- | git/diff.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git/diff.py b/git/diff.py index a40fc244..346a2ca7 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 git.types import PathLike, TBD, Final, Literal +from git.types import PathLike, TBD, Literal if TYPE_CHECKING: from .objects.tree import Tree @@ -31,7 +31,7 @@ Lit_change_type = Literal['A', 'D', 'M', 'R', 'T'] __all__ = ('Diffable', 'DiffIndex', 'Diff', 'NULL_TREE') # Special object to compare against the empty tree in diffs -NULL_TREE = object() # type: Final[object] +NULL_TREE = object() _octal_byte_re = re.compile(b'\\\\([0-9]{3})') |