Message193867
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...' |
|
Date |
User |
Action |
Args |
2013-07-29 13:55:30 | pitrou | set | recipients:
+ pitrou, barry, georg.brandl |
2013-07-29 13:55:30 | pitrou | set | messageid: <1375106130.94.0.876254704259.issue18585@psf.upfronthosting.co.za> |
2013-07-29 13:55:30 | pitrou | link | issue18585 messages |
2013-07-29 13:55:30 | pitrou | create | |
|