formatter ¶ Formattable ¶ Base class for class objects that can be formatted. Example >>> class Example(Formattable): ... fstr: str = "[{}]" ... name: str = "example" >>> print(f"{Example}") [example] FormatterMeta ¶ Bases: ABCMeta Metaclass for classes that can be formatted.