[issue1859] textwrap doesn't linebreak on "\n"

Guido van Rossum report at bugs.python.org
Thu Jan 17 19:14:06 CET 2008


Guido van Rossum added the comment:

Use .splitlines() to break the input into lines, wrap each "line"
separately, and join again?

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1859>
__________________________________


More information about the Python-bugs-list mailing list