mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
Make usage in argparse.HelpFormatter._format_usage optional (#7983)
closes #7982
This commit is contained in:
@@ -309,7 +309,7 @@ class HelpFormatter:
|
||||
def format_help(self) -> str: ...
|
||||
def _join_parts(self, part_strings: Iterable[str]) -> str: ...
|
||||
def _format_usage(
|
||||
self, usage: str, actions: Iterable[Action], groups: Iterable[_ArgumentGroup], prefix: str | None
|
||||
self, usage: str | None, actions: Iterable[Action], groups: Iterable[_ArgumentGroup], prefix: str | None
|
||||
) -> str: ...
|
||||
def _format_actions_usage(self, actions: Iterable[Action], groups: Iterable[_ArgumentGroup]) -> str: ...
|
||||
def _format_text(self, text: str) -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user