def clear_choice_ids(self, inline_region):
if (self.get_choice_ids_metadata().is_read_only() or<EOL>self.get_choice_ids_metadata().is_required()):<EOL><INDENT>raise NoAccess()<EOL><DEDENT>if inline_region in self.my_osid_object_form._my_map['<STR_LIT>']:<EOL><INDENT>self.my_osid_object_form._my_map['<STR_LIT>'][inline_region]['<STR_LIT>'] =deepcopy(self._choice_ids_metadata['<STR_LIT>'][<NUM_LIT:0>])<EOL><DEDENT>else:<EOL><INDENT>raise IllegalState('<STR_LIT>')<EOL><DEDENT>
stub