Skip to content

Commit a71b617

Browse files
authored
Merge branch 'gitpython-developers:main' into patch-1
2 parents 994f387 + 8e226ed commit a71b617

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎git/config.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -710,12 +710,12 @@ def read_only(self) -> bool:
710710
return self._read_only
711711

712712
@overload
713-
def get_value(self, section: str, option: str, default: None = None) -> str: ...
713+
def get_value(self, section: str, option: str, default: None = None) -> Union[int, float, str, bool]: ...
714714

715715
@overload
716716
def get_value(self, section: str, option: str, default: str) -> str: ...
717717

718-
@overload
718+
@overload
719719
def get_value(self, section: str, option: str, default: float) -> float: ...
720720

721721
def get_value(self, section: str, option: str, default: Union[int, float, str, bool, None] = None

0 commit comments

Comments
 (0)