Descripción
Sintaxis
textwrap.fill(text, width=70, *, initial_indent='', subsequent_indent='', expand_tabs=True, replace_whitespace=True, fix_sentence_endings=False, break_long_words=True, drop_whitespace=True, break_on_hyphens=True, tabsize=8, max_lines=None)
Parámetros
- *,
- break_long_words,
- break_on_hyphens,
- drop_whitespace,
- expand_tabs,
- fix_sentence_endings,
- initial_indent,
- max_lines,
- replace_whitespace,
- subsequent_indent,
- tabsize,
- text,
- width,
Ejemplo