Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ff0ecf7

Browse files
Fix mypy
1 parent 39f12bd commit ff0ecf7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎git/config.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -708,12 +708,12 @@ def read_only(self) -> bool:
708708
return self._read_only
709709

710710
@overload
711-
def get_value(self, section: str, option: str, default: str
711+
def get_value(self, section: str, option: str, default: Optional[str]
712712
) -> str:
713713
...
714714

715715
@overload
716-
def get_value(self, section: str, option: str, default: float
716+
def get_value(self, section: str, option: str, default: Optional[float]
717717
) -> float:
718718
...
719719

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /