mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
Precise return type of HelpFormatter.format_option_strings() (#4896)
Always returns a str: https://github.com/python/cpython/blob/v3.9.1/Lib/optparse.py#L366
This commit is contained in:
@@ -60,7 +60,7 @@ class HelpFormatter:
|
||||
def format_epilog(self, epilog: _Text) -> _Text: ...
|
||||
def format_heading(self, heading: Any) -> _Text: ...
|
||||
def format_option(self, option: OptionParser) -> _Text: ...
|
||||
def format_option_strings(self, option: OptionParser) -> Any: ...
|
||||
def format_option_strings(self, option: OptionParser) -> _Text: ...
|
||||
def format_usage(self, usage: Any) -> _Text: ...
|
||||
def indent(self) -> None: ...
|
||||
def set_long_opt_delimiter(self, delim: _Text) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user