mirror of https://github.com/python/cpython
Issue #15497: Correct characters in TextWrapper.replace_whitespace docs.
Patch by Chris Jerdonek.
This commit is contained in:
parent
2f76f73d73
commit
33f87a59b8
|
@ -112,9 +112,11 @@ indentation from strings that have unwanted whitespace to the left of the 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::
|
||||
|
||||
|
|
Loading…
Reference in New Issue