diff options
| author | Benjamin Peterson <benjamin@python.org> | 2011-09-28 10:48:40 -0400 |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2011-09-28 10:48:40 -0400 |
| commit | e56717c3d201db2dadacd20f654d6be7f9ed18ed (patch) | |
| tree | e0df9e7bf6ab16052edaa32311ab66278bc73404 /Lib/argparse.py | |
| parent | 19f6260710b3d086abcbe400194b203be11b60ab (diff) | |
| parent | d8b509b192a67f0f217ae52ed81fc91bc27a1818 (diff) | |
| download | cpython-git-e56717c3d201db2dadacd20f654d6be7f9ed18ed.tar.gz | |
merge heads
Diffstat (limited to 'Lib/argparse.py')
| -rw-r--r-- | Lib/argparse.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/argparse.py b/Lib/argparse.py index f0cfe27eb8..236e1e8059 100644 --- a/Lib/argparse.py +++ b/Lib/argparse.py @@ -641,7 +641,7 @@ class RawDescriptionHelpFormatter(HelpFormatter): """ def _fill_text(self, text, width, indent): - return ''.join([indent + line for line in text.splitlines(True)]) + return ''.join(indent + line for line in text.splitlines(keepends=True)) class RawTextHelpFormatter(RawDescriptionHelpFormatter): |
