document set_format()

Signed-off-by: Johannes Dewender <github@JonnyJD.net>