Antoine Pitrou added the comment:
Oops, sorry, I was mistaken. There is no bug actually here:
>>> textwrap.summarize('hello world!', width=10)
'(...)'
'hello (...)' cannot be the right answer since its len() is 11, greater than 10.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue18585>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com