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

Patch by Chris Jerdonek.
This commit is contained in:
Andrew Svetlov 2012-08-13 23:22:23 +03:00
parent 50be452e0f
commit 59db401667

View file

@ -109,9 +109,11 @@ indentation from strings that have unwanted whitespace to the left of the text.
.. attribute:: replace_whitespace .. attribute:: replace_whitespace
(default: ``True``) If true, each whitespace character (as defined by (default: ``True``) If true, after tab expansion but before wrapping,
``string.whitespace``) remaining after tab expansion will be replaced by a the :meth:`wrap` method will replace each whitespace character
single space. 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:: .. note::