Staging: this is not the live site, pydocs.org.
textwrap
Symbols in textwrap
d
- dedent
- Remove any common leading whitespace from every line in `text`.
f
- fill
- Fill a single paragraph of text, returning a new string.
i
- indent
- Adds 'prefix' to the beginning of selected lines in 'text'.
s
- shorten
- Collapse and truncate the given text to fit in the given width.
w
- wrap
- Wrap a single paragraph of text, returning a list of wrapped lines.