def stringify_compound_key(self, key):
if UNQUOTED_COMPOUND_KEY.match(key):<EOL><INDENT>return key<EOL><DEDENT>return self.escape_string(key)<EOL>
Escape the compound key if it can't be represented unquoted.