Antoine Pitrou added the comment:
> >Perhaps the "placeholder" argument should actually include the last
> >whitespace, to allow people to omit the whitespace, or use a
> >non-breaking space instead?
> >
> > >>> textwrap.summarize("Hello world!", width=11,
> > >>> placeholder='...')
> > 'Hello...'
>
> I guess the placeholder default is ' (...)' then?
Yeah.
(of course, another default could be used)
----------
_______________________________________
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