[issue15510] textwrap.wrap('') returns empty list

Antoine Pitrou report at bugs.python.org
Fri Aug 3 23:09:18 CEST 2012


Antoine Pitrou added the comment:

> an empty list is not a list of lines

Really?

>>> "".splitlines()
[]

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15510>
_______________________________________


More information about the Python-bugs-list mailing list