[issue31330] argparse.RawTextHelpFormatter does not maintain lines separated by more than one newline

paul j3 report at bugs.python.org
Sat Sep 2 12:19:07 EDT 2017


paul j3 added the comment:

http://bugs.python.org/issue17113
argparse.RawDescriptionHelpFormatter should not delete blank lines

This provides more details on why this is happening.

I suggest using adding a space between newlines, thus: '\n \n'.  HelpFormatter.format_help is just looking for '\n\n'.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31330>
_______________________________________


More information about the Python-bugs-list mailing list