def clear_choice(self, choice):
if len(self.my_osid_object_form._my_map['<STR_LIT>']) == <NUM_LIT:0>:<EOL><INDENT>raise IllegalState('<STR_LIT>')<EOL><DEDENT>if (len(self.my_osid_object_form._my_map['<STR_LIT>']) == <NUM_LIT:1> and<EOL>choice in self.my_osid_object_form._my_map['<STR_LIT>']):<EOL><INDENT>raise IllegalState()<EOL><DEDENT>self.my_osid_object_form._my_map['<STR_LIT>'] =[c for c in self.my_osid_object_form._my_map['<STR_LIT>'] if c != choice]<EOL>
stub