Return a formatted version of the string, using substitutions from mapping. The substitutions are identified by braces ('{' and '}').
>>> class Default(dict): ... def __missing__(self, key): ... return key ... >>> '{name} was born in {country}'.format_map(Default(name='Guido')) 'Guido was born in country'
builtins/str.format_map
str.format_map