str.splitlines
splitlines([keepends])
Return a list of the lines in the string, breaking at line boundaries. Line breaks are not included in the resulting list unless keepends is given and true.
splitlines([keepends])
Return a list of the lines in the string, breaking at line boundaries. Line breaks are not included in the resulting list unless keepends is given and true.
rendered by a django application. hosted by webfaction.
Comment:
does the function handle mixed newline and carriage return sequences gracefully?
Posted by sono (2006-12-12)