[New-bugs-announce] [issue17113] argparse.RawDescriptionHelpFormatter should not delete blank lines
Roy Smith
report at bugs.python.org
Sun Feb 3 14:45:40 CET 2013
New submission from Roy Smith:
The following code, when run with "--help", omits the trailing newlines from the epilog. It should just emit the string verbatim. If the developer didn't want the extra newlines, he/she wouldn't have put them there.
import argparse
parser = argparse.ArgumentParser(formatter_class=argparse.RawDescriptionHelpFormatter,
epilog="foo\n\n")
parser.parse_args()
----------
components: Library (Lib)
messages: 181267
nosy: roysmith
priority: normal
severity: normal
status: open
title: argparse.RawDescriptionHelpFormatter should not delete blank lines
type: behavior
versions: Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17113>
_______________________________________
More information about the New-bugs-announce
mailing list