mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Issue #15497: Correct characters in TextWrapper.replace_whitespace docs.
Patch by Chris Jerdonek.
This commit is contained in:
commit
f334f740e4
1 changed files with 5 additions and 3 deletions
|
@ -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::
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue