def _merge_cdicts(self, clut, exdict, separator):
if not self._full_cname:<EOL><INDENT>return<EOL><DEDENT>repl_dict = {}<EOL>for key, value in _sorted_keys_items(clut):<EOL><INDENT>otoken = self._clut.get(key, None)<EOL>if not otoken:<EOL><INDENT>otoken = str(len(self._clut))<EOL>self._clut[key] = otoken<EOL><DEDENT>repl_dict[value] = otoken<EOL><DEDENT>for fdict in exdict.values():<EOL><INDENT>for entry in fdict.values():<EOL><INDENT>olist = []<EOL>for item in entry["<STR_LIT>"]:<EOL><INDENT>if item is None:<EOL><INDENT>olist.append(None)<EOL><DEDENT>else:<EOL><INDENT>itokens = item.split(separator)<EOL>itokens = [repl_dict.get(itoken) for itoken in itokens]<EOL>olist.append(separator.join(itokens))<EOL><DEDENT><DEDENT>entry["<STR_LIT>"] = olist<EOL><DEDENT><DEDENT>
Merge callable look-up tables from two objects.