Lines Matching refs:TextWrapper
15 as well as :class:`TextWrapper`, the class that does all the work.
18 :class:`TextWrapper` for efficiency.
31 :class:`TextWrapper`, documented below.
33 See the :meth:`TextWrapper.wrap` method for additional details on how
72 :class:`TextWrapper`, documented below. Note that the whitespace is
73 collapsed before the text is passed to the :class:`TextWrapper` :meth:`fill`
134 :class:`TextWrapper` instance and calling a single method on it. That
137 create your own :class:`TextWrapper` object.
141 :attr:`TextWrapper.break_long_words` is set to false.
143 .. class:: TextWrapper(**kwargs)
145 The :class:`TextWrapper` constructor accepts a number of optional keyword
149 wrapper = TextWrapper(initial_indent="* ")
153 wrapper = TextWrapper()
156 You can re-use the same :class:`TextWrapper` object many times, and you can
160 The :class:`TextWrapper` instance attributes (and keyword arguments to the
168 :class:`TextWrapper` guarantees that no output line will be longer than
234 (default: ``False``) If true, :class:`TextWrapper` attempts to detect
294 :class:`TextWrapper` also provides some public methods, analogous to the
301 instance attributes of the :class:`TextWrapper` instance. Returns a list