python中format_map函数如何使用?
python字符串中format_map 函数如何使用?
Help on built-in function format_map:
format_map(…) method of builtins.str instance
S.format_map(mapping) -> str
Return a formatted version of S, using substitutions from mapping.
The substitutions are identified by braces (’{’ and ‘}’).