diff options
author | Yobmod <yobmod@gmail.com> | 2021-08-02 18:25:20 +0100 |
---|---|---|
committer | Yobmod <yobmod@gmail.com> | 2021-08-02 18:25:20 +0100 |
commit | f34a39f206b5e2d408d4d47b0cc2012775d00917 (patch) | |
tree | 13947583ddaa4fffee9db20d54428de376ea9e67 /git/repo/base.py | |
parent | 9de7310f1a2bfcb90ca5c119321037d5ea97b24e (diff) | |
download | gitpython-f34a39f206b5e2d408d4d47b0cc2012775d00917.tar.gz |
Test new union syntax (Pep604)
Diffstat (limited to 'git/repo/base.py')
-rw-r--r-- | git/repo/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/repo/base.py b/git/repo/base.py index 6708872e..b7eecbc3 100644 --- a/git/repo/base.py +++ b/git/repo/base.py @@ -795,7 +795,7 @@ class Repo(object): # reveal_type(self.head.reference) # => Reference return self.head.reference - def blame_incremental(self, rev: Union[str, HEAD], file: str, **kwargs: Any) -> Iterator['BlameEntry']: + def blame_incremental(self, rev: str | HEAD, file: str, **kwargs: Any) -> Iterator['BlameEntry']: """Iterator for blame information for the given file at the given revision. Unlike .blame(), this does not return the actual file's contents, only |