FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix trailing whitespace and incorrect overload · CoderboticsAI/GitPython@9c7a44f · GitHub

Repository navigation

Commit 9c7a44f

Browse files
authored
Fix trailing whitespace and incorrect overload
1 parent 0b89bfe commit 9c7a44f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎git/config.py‎

Lines changed: 2 additions & 2 deletions
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)

Back | FazBrowse Home | New Git URL