PyDocs

Nav

Text Processing Services

Formatter.format

string

method of Formatter (source)
  • Formatter.format(format_string, /, *args, **kwargs)
The primary API method. It takes a format string and an arbitrary set of positional and keyword arguments. It is just a wrapper that calls vformat().
Changed in 3.7
  • 3.7: A format string argument is now positional-only.
0 Examples
No examples for string/Formatter.format.
See Also
No see-alsos for string/Formatter.format
0 Notes
No notes for Formatter.format