PyDocs

Nav

Text Processing Services

TextWrapper.drop_whitespace

textwrap

attribute of TextWrapper
(default: True) If true, whitespace at the beginning and ending of every line (after wrapping but before indenting) is dropped. Whitespace at the beginning of the paragraph, however, is not dropped if non-whitespace follows it. If whitespace being dropped takes up an entire line, the whole line is dropped.
0 Examples
No examples for textwrap/TextWrapper.drop_whitespace.
See Also
No see-alsos for textwrap/TextWrapper.drop_whitespace
0 Notes
No notes for TextWrapper.drop_whitespace