def set_one(chainmap, thing_name, callobject):
namespaces = reversed(thing_name.split("<STR_LIT:.>"))<EOL>lstname = []<EOL>for name in namespaces:<EOL><INDENT>lstname.insert(<NUM_LIT:0>, name)<EOL>strname = '<STR_LIT:.>'.join(lstname)<EOL>chainmap[strname] = callobject<EOL><DEDENT>
Add a mapping with key thing_name for callobject in chainmap with
        namespace handling.