summaryrefslogtreecommitdiff
path: root/git
diff options
context:
space:
mode:
Diffstat (limited to 'git')
-rw-r--r--git/types.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/git/types.py b/git/types.py
index 0f288e10..6604a243 100644
--- a/git/types.py
+++ b/git/types.py
@@ -5,13 +5,13 @@
import os
import sys
from typing import (Callable, Dict, NoReturn, Tuple, Union, Any, Iterator, # noqa: F401
- NamedTuple, TYPE_CHECKING, get_args, TypeVar) # noqa: F401
+ NamedTuple, TYPE_CHECKING, TypeVar) # noqa: F401
if sys.version_info[:2] >= (3, 8):
- from typing import Final, Literal, SupportsIndex, TypedDict, Protocol # noqa: F401
+ from typing import Final, Literal, SupportsIndex, TypedDict, Protocol, get_args # noqa: F401
else:
- from typing_extensions import Final, Literal, SupportsIndex, TypedDict, Protocol # noqa: F401
+ from typing_extensions import Final, Literal, SupportsIndex, TypedDict, Protocol, get_args # noqa: F401
if sys.version_info[:2] >= (3, 10):
from typing import TypeGuard # noqa: F401