From 686e21d330ce9a2ca16fb925554fd5eba082fb8f Mon Sep 17 00:00:00 2001 From: jjmortensen Date: Wed, 11 Sep 2019 17:00:25 +0200 Subject: [PATCH] Fix type in argparse.HelpFormatter._fill_text() (#3229) --- stdlib/2and3/argparse.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/2and3/argparse.pyi b/stdlib/2and3/argparse.pyi index b0f375dbe..2c33cac71 100644 --- a/stdlib/2and3/argparse.pyi +++ b/stdlib/2and3/argparse.pyi @@ -225,7 +225,7 @@ class HelpFormatter: def _expand_help(self, action: Action) -> _Text: ... def _iter_indented_subactions(self, action: Action) -> Generator[Action, None, None]: ... def _split_lines(self, text: Text, width: int) -> List[_Text]: ... - def _fill_text(self, text: Text, width: int, indent: int) -> _Text: ... + def _fill_text(self, text: Text, width: int, indent: Text) -> _Text: ... def _get_help_string(self, action: Action) -> Optional[_Text]: ... def _get_default_metavar_for_optional(self, action: Action) -> _Text: ... def _get_default_metavar_for_positional(self, action: Action) -> _Text: ...