def itertable(table):
for item in table:<EOL><INDENT>res = {<EOL>k.lower(): nfd(v) if isinstance(v, text_type) else v for k, v in item.items()}<EOL>for extra in res.pop('<STR_LIT>', []):<EOL><INDENT>k, _, v = extra.partition('<STR_LIT::>')<EOL>res[k.strip()] = v.strip()<EOL><DEDENT>yield res<EOL><DEDENT>
Auxiliary function for iterating over a data table.