Skip to content

Commit 1349ddc

Browse files
committed
try fix for Protocol buy in 3.10 2
1 parent 079d7fd commit 1349ddc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/objects/util.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
from .submodule.base import Submodule
3838
from git.types import Protocol, runtime_checkable
3939
else:
40-
Protocol = Generic
40+
Protocol = Generic[Any]
4141

4242
def runtime_checkable(f):
4343
return f

0 commit comments

Comments
 (0)