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

2012-04-11 Thread Otto Kekäläinen
Otto Kekäläinen added the comment: In previous comment: (eg. Wordwrap in Python) -> (wordwrap() in PHP) Some examples of how this function works on text blocks: Original text: -- *Maksaako riippuvuus yksittäisestä ohjelmistoyritykstä Helsingille vuosittain 3,4 miljoonaa euroa?* Helsin

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

2012-04-11 Thread Otto Kekäläinen
Otto Kekäläinen added the comment: As a note to comments msg60038-msg60040, for anybody like me who ended up here after Googling around on how to do wordwrap in Python: The function textwrap in Python is for single strings/paragraphs only, and it does not work as wordwrap normally works in