Home
last modified time | relevance | path

Searched refs:drop_whitespace (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Lib/
Dtextwrap.py123 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/
Dtest_textwrap.py72 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/
Dtextwrap.rst138 .. attribute:: drop_whitespace
/external/python/cpython2/Doc/whatsnew/
D2.6.rst2513 by specifying ``drop_whitespace=False``
2523 >>> print textwrap.fill(S, drop_whitespace=False, width=15)