PyDocs

Nav

Text Processing Services

Formatter.parse

string

method of Formatter (source)
  • Formatter.parse(format_string)
Return an iterable that contains tuples of the form
(literal_text, field_name, format_spec, conversion).

*field_name* can be None, in which case there's no object
to format and output; otherwise, it is looked up and
formatted with *format_spec* and *conversion*.
0 Examples
No examples for string/Formatter.parse.
See Also
No see-alsos for string/Formatter.parse
0 Notes
No notes for Formatter.parse