def _args(self, term, d):
<EOL>tvm = self.doc.decl_terms.get(term, {}).get('<STR_LIT>', '<STR_LIT>')<EOL>lower_d = {k.lower(): v for k, v in d.items()}<EOL>args = []<EOL>for n in [tvm] + self.property_names:<EOL><INDENT>args.append(lower_d.get(n.lower(), '<STR_LIT>'))<EOL>try:<EOL><INDENT>del lower_d[n.lower()]<EOL><DEDENT>except KeyError:<EOL><INDENT>pass<EOL><DEDENT><DEDENT>return term, args, lower_d<EOL>
Extract the chldren of a term that are arg-children from those that are row-children.