diff options
author | Irit Katriel <iritkatriel@yahoo.com> | 2020-10-18 17:01:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-18 17:01:15 (GMT) |
commit | b81c833ab51fb7d7f0f8eaace37f60ef7455aa85 (patch) | |
tree | 8543955715fe59aa8d762a76b159c93e6f40dadc /Misc | |
parent | 67f04878debbcec60191cddbddf9c83e8b9b36fe (diff) | |
download | cpython-b81c833ab51fb7d7f0f8eaace37f60ef7455aa85.zip cpython-b81c833ab51fb7d7f0f8eaace37f60ef7455aa85.tar.gz cpython-b81c833ab51fb7d7f0f8eaace37f60ef7455aa85.tar.bz2 |
bpo-28660: Make TextWrapper break long words on hyphens (GH-22721)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2020-10-16-16-08-04.bpo-28660.eX9pvD.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-10-16-16-08-04.bpo-28660.eX9pvD.rst b/Misc/NEWS.d/next/Library/2020-10-16-16-08-04.bpo-28660.eX9pvD.rst new file mode 100644 index 0000000..d679934 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2020-10-16-16-08-04.bpo-28660.eX9pvD.rst @@ -0,0 +1 @@ +:func:`textwrap.wrap` now attempts to break long words after hyphens when ``break_long_words=True`` and ``break_on_hyphens=True``. |