summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2013-08-12 20:39:09 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2013-08-12 20:39:09 (GMT)
commit389dec8bcf776cd60aa6abaea3d98dc904203b2d (patch)
treec8fedfc1f6620c1e05ba59d253bfa3e60959d6d3 /Misc
parentd6cbd34aadd9647c5c7e15e75ed224717567410c (diff)
downloadcpython-389dec8bcf776cd60aa6abaea3d98dc904203b2d.zip
cpython-389dec8bcf776cd60aa6abaea3d98dc904203b2d.tar.gz
cpython-389dec8bcf776cd60aa6abaea3d98dc904203b2d.tar.bz2
Issue #18585: Add :func:`textwrap.shorten` to collapse and truncate a piece of text to a given length.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 28a0b58..29b0465 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -26,6 +26,9 @@ Core and Builtins
Library
-------
+- Issue #18585: Add :func:`textwrap.shorten` to collapse and truncate a
+ piece of text to a given length.
+
- Issue #18598: Tweak exception message for importlib.import_module() to
include the module name when a key argument is missing.