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.
this page was rendered by a django application in 0.01s 2010-12-16 18:11:57.641940. hosted by webfaction.
Comment:
does the function handle mixed newline and carriage return sequences gracefully?
Posted by sono (2006-12-12)