@utilities.arguments_not_none<EOL><INDENT>def remove_choice(self, choice_id, inline_region):<DEDENT>
if inline_region in self.my_osid_object_form._my_map['<STR_LIT>']:<EOL><INDENT>updated_choices = []<EOL>for choice in self.my_osid_object_form._my_map['<STR_LIT>'][inline_region]:<EOL><INDENT>if choice['<STR_LIT:id>'] != choice_id:<EOL><INDENT>updated_choices.append(choice)<EOL><DEDENT><DEDENT>self.my_osid_object_form._my_map['<STR_LIT>'][inline_region] = updated_choices<EOL><DEDENT>
remove a choice, given the id