def _format_description(self, description): width = argparse.HelpFormatter('prog')._width return text.ensure_newlines( text.fill_paragraphs(text.dedent(description), width))
def format_description(self, description): return text.ensure_2lines(text.fill_paragraphs( text.dedent(description), self.width))
def _format_description(self, description): width = argparse.HelpFormatter("prog")._width return text.ensure_newlines(text.fill_paragraphs(text.dedent(description), width))