Author vajrasky
Recipients barry, ezio.melotti, georg.brandl, pitrou, vajrasky
Date 2013-07-29.16:09:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1375114142.49.0.862240795779.issue18585@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-07-29 16:09:02vajraskysetrecipients: + vajrasky, barry, georg.brandl, pitrou, ezio.melotti
2013-07-29 16:09:02vajraskysetmessageid: <1375114142.49.0.862240795779.issue18585@psf.upfronthosting.co.za>
2013-07-29 16:09:02vajraskylinkissue18585 messages
2013-07-29 16:09:02vajraskycreate