diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2012-06-11 13:07:51 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2012-06-11 13:07:51 (GMT) |
commit | 4fae8cdaeac117c6a567f9305a22fd0cff400452 (patch) | |
tree | f01b63d1495c581d36e0f346cb8fa23a8b160045 /Doc/whatsnew | |
parent | 3c4acd8bf9b7f2e1dcfd5bb76c4562451c3d8fa1 (diff) | |
download | cpython-4fae8cdaeac117c6a567f9305a22fd0cff400452.zip cpython-4fae8cdaeac117c6a567f9305a22fd0cff400452.tar.gz cpython-4fae8cdaeac117c6a567f9305a22fd0cff400452.tar.bz2 |
Close #13857: Added textwrap.indent() function (initial patch by Ezra
Berch)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.3.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst index cd57a39..f52d5ae 100644 --- a/Doc/whatsnew/3.3.rst +++ b/Doc/whatsnew/3.3.rst @@ -1406,6 +1406,14 @@ sys (:issue:`11223`) +textwrap +-------- + +* The :mod:`textwrap` module has a new :func:`~textwrap.indent` that makes + it straightforward to add a common prefix to selected lines in a block + of text. + + (:issue:`13857`) time ---- |