def f_add_wildcard_functions(self, func_dict):
for wildcards, function in func_dict.items():<EOL><INDENT>if not isinstance(wildcards, tuple):<EOL><INDENT>wildcards = (wildcards,)<EOL><DEDENT>for wildcard in wildcards:<EOL><INDENT>if wildcard in self._wildcard_keys:<EOL><INDENT>raise ValueError('<STR_LIT>' % wildcard)<EOL><DEDENT>self._wildcard_keys[wildcard] = wildcards<EOL><DEDENT>self._wildcard_functions[wildcards] = function<EOL>self._logger.debug('<STR_LIT>' % str(wildcards))<EOL><DEDENT>
TODO