PyDocs

Nav

Text Processing Services

TextWrapper.replace_whitespace

textwrap

attribute of TextWrapper
(default: True) If true, after tab expansion but before wrapping, the 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').
0 Examples
No examples for textwrap/TextWrapper.replace_whitespace.
See Also
No see-alsos for textwrap/TextWrapper.replace_whitespace
0 Notes
No notes for TextWrapper.replace_whitespace