def get_placeholder_formats_list(self, format_string):
placeholders = []<EOL>for token in self.tokens(format_string):<EOL><INDENT>if token.group("<STR_LIT>"):<EOL><INDENT>placeholders.append((token.group("<STR_LIT:key>"), token.group("<STR_LIT>")))<EOL><DEDENT><DEDENT>return placeholders<EOL>
Parses the format_string and returns a list of tuples
(placeholder, format).