Skip to content

Commit eff48b8

Browse files
authored
Import typevar in util.py
1 parent 09fb227 commit eff48b8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎git/objects/util.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from datetime import datetime, timedelta, tzinfo
2020

2121
# typing ------------------------------------------------------------
22-
from typing import (Any, Callable, Deque, Iterator, TYPE_CHECKING, Tuple, Type, Union, cast)
22+
from typing import (Any, Callable, Deque, Iterator, typevar, TYPE_CHECKING, Tuple, Type, Union, cast)
2323

2424
if TYPE_CHECKING:
2525
from io import BytesIO, StringIO
@@ -29,6 +29,8 @@
2929
from .tag import TagObject
3030
from .tree import Tree
3131
from subprocess import Popen
32+
33+
T_Iterableobj = typevar('T_Iterableobj', bound=T_Iterableobj)
3234

3335
# --------------------------------------------------------------------
3436

0 commit comments

Comments
 (0)