Issue #18585: Add :func:`textwrap.shorten` to collapse and truncate a piece of text to a given length.
4 files changed