Skip to content

Commit 686e21d

Browse files
jjmortensensrittau
authored andcommitted
Fix type in argparse.HelpFormatter._fill_text() (#3229)
1 parent c9f19b1 commit 686e21d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/2and3/argparse.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ class HelpFormatter:
225225
def _expand_help(self, action: Action) -> _Text: ...
226226
def _iter_indented_subactions(self, action: Action) -> Generator[Action, None, None]: ...
227227
def _split_lines(self, text: Text, width: int) -> List[_Text]: ...
228-
def _fill_text(self, text: Text, width: int, indent: int) -> _Text: ...
228+
def _fill_text(self, text: Text, width: int, indent: Text) -> _Text: ...
229229
def _get_help_string(self, action: Action) -> Optional[_Text]: ...
230230
def _get_default_metavar_for_optional(self, action: Action) -> _Text: ...
231231
def _get_default_metavar_for_positional(self, action: Action) -> _Text: ...

0 commit comments

Comments
 (0)