Changes between Initial Version and Version 1 of Ticket #12843, comment 7
- Timestamp:
- Jul 18, 2017, 11:38:45 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12843, comment 7
initial v1 5 5 6 6 I think we should see [https://docs.python.org/2/library/stdtypes.html#unicode.splitlines unicode.splitlines] rather than [https://docs.python.org/2/library/stdtypes.html#str.splitlines str.splitlines]. 7 8 Also, `\r` is one of line boundaries in `str.splitlines()` but `/\r?\n/` doesn't match `\r`. 9 10 {{{#!pycon 11 >>> 'aaaa\rbbbb\nccccc\r\ndddd'.splitlines() 12 ['aaaa', 'bbbb', 'ccccc', 'dddd'] 13 }}}