[issue43518] textwrap.shorten does not always respect word boundaries
New submission from annesylvie : The `shorten` function from the `textwrap` module does not always break strings at the correct location. `shorten("hello world!", width=7, placeholder="")` returns `'hello'` as expected, but `shorten("hello world!!&
[issue43518] textwrap.shorten does not always respect word boundaries
Change by annesylvie : -- components: Library (Lib) nosy: annesylvie priority: normal severity: normal status: open title: textwrap.shorten does not always respect word boundaries type: behavior versions: Python 3.8 ___ Python tracker <ht