Searched refs:drop_whitespace (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Lib/ |
D | textwrap.py | 123 drop_whitespace=True, argument 132 self.drop_whitespace = drop_whitespace 282 if self.drop_whitespace and chunks[-1].strip() == '' and lines: 303 if self.drop_whitespace and cur_line and cur_line[-1].strip() == '':
|
/external/python/cpython2/Lib/test/ |
D | test_textwrap.py | 72 self.check_wrap("", 6, [], drop_whitespace=False) 77 self.check_wrap("", 6, [], initial_indent="++", drop_whitespace=False) 342 drop_whitespace=False) 346 self.check_wrap(" ", 6, [" "], drop_whitespace=False) 351 self.check_wrap(" ", 6, [" "], drop_whitespace=False, 375 drop_whitespace=False)
|
/external/python/cpython2/Doc/library/ |
D | textwrap.rst | 138 .. attribute:: drop_whitespace
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.6.rst | 2513 by specifying ``drop_whitespace=False`` 2523 >>> print textwrap.fill(S, drop_whitespace=False, width=15)
|