def get_convert_dict(fmt):
convdef = {}<EOL>for literal_text, field_name, format_spec, conversion in formatter.parse(fmt):<EOL><INDENT>if field_name is None:<EOL><INDENT>continue<EOL><DEDENT>convdef[field_name] = format_spec<EOL><DEDENT>return convdef<EOL>
Retrieve parse definition from the format string `fmt`.