ID EN
String

format

Python 3.11

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().

Syntax

PYTHON
format(format_string, /, *args, **kwargs)

See Also

vformat() positional-only