William Woodruff personal blog
Python's splitlines does more than just newlines
I always assumed that Python's str.splitlines() split strings by " universal newlines ", i.e., \n , \r , and \r\n .
- Points
- 122
- HN comments
- 44
- Submissions
- 1
- Cited by
- 0 commenters
Software EngineeringProgramming Languages2025
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Oct 9, 2025 | Python's splitlines does more than just newlines by Bogdanp | 122 | 44 |