Staging: this is not the live site, pydocs.org.
See PEP 3101 for details and purpose of this class.
Members of Formatter
c
- convert_field
- Converts the value (returned by get_field()) given a conversion type (as in the tuple returned by the parse() method).
f
- format_field
- format_field() simply calls the global format() built-in.
g
- get_field
- Find the object referenced by a given field name.
p
- parse
- Return an iterable that contains tuples of the form (literal_text, field_name, format_spec, conversion).
v
- vformat
- This function does the actual work of formatting.