[issue13857] Add textwrap.indent() as counterpart to textwrap.dedent()

Chris Jerdonek report at bugs.python.org
Sun May 13 07:12:36 CEST 2012


Chris Jerdonek <chris.jerdonek at gmail.com> added the comment:

Should the function work for strings with non-Unix line endings?

http://docs.python.org/dev/py3k/reference/lexical_analysis.html#physical-lines

For example, should indent("abc\r\n", "") return the same string, and should "\r\n" get indented by default?

----------

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


More information about the Python-bugs-list mailing list