[docs] [issue22232] str.splitlines splitting on non-\r\n characters

Serhiy Storchaka report at bugs.python.org
Tue Oct 28 13:35:12 CET 2014

Serhiy Storchaka added the comment:

With Terry's explanation "linebreak" looks better to me. Yet one alternative is ascii=False (or unicode=True?). And may be worth to add this parameter to strip/rstrip/lstrip/split too. On other hand regular expressions can be used in such special cases.


Python tracker <report at bugs.python.org>

More information about the docs mailing list