def python_value(self, dtype, dvalue):
try:<EOL><INDENT>return CONVERTERS[dtype](dvalue)<EOL><DEDENT>except KeyError:<EOL><INDENT>if dtype == clips.common.CLIPSType.MULTIFIELD:<EOL><INDENT>return self.multifield_to_list()<EOL><DEDENT>if dtype == clips.common.CLIPSType.FACT_ADDRESS:<EOL><INDENT>return clips.facts.new_fact(self._env, lib.to_pointer(dvalue))<EOL><DEDENT>if dtype == clips.common.CLIPSType.INSTANCE_ADDRESS:<EOL><INDENT>return clips.classes.Instance(self._env, lib.to_pointer(dvalue))<EOL><DEDENT><DEDENT>return None<EOL>
Convert a CLIPS type into Python.