Ethan Furman added the comment:

Antoine Pitrou wrote:
> Antoine Pitrou added the comment:
> 
>> an empty list is not a list of lines
> 
> Really?
> 
>>>> "".splitlines()
> []

Really.

--> ''.split('\n')
['']

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15510>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to