[issue13857] Add textwrap.indent() as counterpart to textwrap.dedent()
Nick Coghlan
report at bugs.python.org
Wed May 30 00:37:14 CEST 2012
Nick Coghlan <ncoghlan at gmail.com> added the comment:
I created #14957 to cover improving the str.splitlines docs.
For this patch, I think Chris is right that it should be using str.splitlines(True) and joining on "''" instead of "'\n'" so that Windows line endings get preserved.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13857>
_______________________________________
More information about the Python-bugs-list
mailing list