Commit f334f740 authored by Andrew Svetlov's avatar Andrew Svetlov

Issue #15497: Correct characters in TextWrapper.replace_whitespace docs.

Patch by Chris Jerdonek.
parents a8656546 59db4016
......@@ -145,9 +145,11 @@ in a block of text.
.. attribute:: replace_whitespace
(default: ``True``) If true, each whitespace character (as defined by
``string.whitespace``) remaining after tab expansion will be replaced by a
single space.
(default: ``True``) If true, after tab expansion but before wrapping,
the :meth:`wrap` method will replace each whitespace character
with a single space. The whitespace characters replaced are
as follows: tab, newline, vertical tab, formfeed, and carriage
return (``'\t\n\v\f\r'``).
.. note::
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment