Nick Coghlan <ncogh...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue13857>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to