Message193874
> >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) |
|
Date |
User |
Action |
Args |
2013-07-29 15:34:38 | pitrou | set | recipients:
+ pitrou, barry, georg.brandl |
2013-07-29 15:34:37 | pitrou | link | issue18585 messages |
2013-07-29 15:34:37 | pitrou | create | |
|