Message193879
Something is not right if we use more than one space.
>>> textwrap.summarize('hello world!', width=12)
'hello world!'
>>> textwrap.summarize('hello world!', width=11)
'hello (...)'
>>> textwrap.summarize('hello world!', width=10)
'(...)'
I expect the last statement would give result: 'hello (...)' because 'hello' is just 5 characters, less than 10. |
|
Date |
User |
Action |
Args |
2013-07-29 16:09:02 | vajrasky | set | recipients:
+ vajrasky, barry, georg.brandl, pitrou, ezio.melotti |
2013-07-29 16:09:02 | vajrasky | set | messageid: <1375114142.49.0.862240795779.issue18585@psf.upfronthosting.co.za> |
2013-07-29 16:09:02 | vajrasky | link | issue18585 messages |
2013-07-29 16:09:02 | vajrasky | create | |
|