Searched refs:drop_whitespace (Results 1 – 4 of 4) sorted by relevance
/third_party/python/Lib/ |
D | textwrap.py | 123 drop_whitespace=True, argument 136 self.drop_whitespace = drop_whitespace 287 if self.drop_whitespace and chunks[-1].strip() == '' and lines: 309 if self.drop_whitespace and cur_line and cur_line[-1].strip() == '': 317 self.drop_whitespace and
|
/third_party/python/Lib/test/ |
D | test_textwrap.py | 71 self.check_wrap("", 6, [], drop_whitespace=False) 76 self.check_wrap("", 6, [], initial_indent="++", drop_whitespace=False) 365 drop_whitespace=False) 369 self.check_wrap(" ", 6, [" "], drop_whitespace=False) 374 self.check_wrap(" ", 6, [" "], drop_whitespace=False, 398 drop_whitespace=False)
|
/third_party/python/Doc/library/ |
D | textwrap.rst | 23 break_long_words=True, drop_whitespace=True, \ 40 break_long_words=True, drop_whitespace=True, \ 75 :attr:`.drop_whitespace`, and :attr:`.replace_whitespace` will have no effect. 209 .. attribute:: drop_whitespace
|
/third_party/python/Doc/whatsnew/ |
D | 2.6.rst | 2517 by specifying ``drop_whitespace=False`` 2527 >>> print textwrap.fill(S, drop_whitespace=False, width=15)
|