We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe54118 commit 0b89bfeCopy full SHA for 0b89bfe
git/config.py
@@ -710,14 +710,13 @@ def read_only(self) -> bool:
710
return self._read_only
711
712
@overload
713
- def get_value(self, section: str, option: str, default: str
714
- ) -> str:
715
- ...
+ def get_value(self, section: str, option: str, default: None = None) -> str: ...
716
717
718
- def get_value(self, section: str, option: str, default: float
719
- ) -> float:
720
+ def get_value(self, section: str, option: str, default: str) -> str: ...
+
+ @overload
+ def get_value(self, section: str, option: str, default: float) -> float: ...
721
722
def get_value(self, section: str, option: str, default: Union[int, float, str, bool, None] = None
723
) -> Union[int, float, str, bool]:
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments