PyObject_Format

Takes an arbitrary object and returns the result of calling obj.__format__(format_spec).

version(Python_2_6_Or_Later)
PyObject_Format

Meta