4 ms·
Splitlines additionally strips the newline character, functionality which is often (maybe even usually?) desired.
by tiltowait 1y ago
Splitlines additionally strips the newline character, functionality which is often (maybe even usually?) desired.
- masklinn 1y agoThis has been controlled via a boolean parameter since at least 2.0, which as far as I can tell is when this method was added to `str`.