@utilities.arguments_not_none<EOL><INDENT>def clear_target_texts(self, target_id):<DEDENT>
if self.get_targets_metadata().is_read_only():<EOL><INDENT>raise NoAccess()<EOL><DEDENT>updated_targets = []<EOL>for current_target in self.my_osid_object_form._my_map['<STR_LIT>']:<EOL><INDENT>if current_target['<STR_LIT:id>'] != target_id:<EOL><INDENT>updated_targets.append(current_target)<EOL><DEDENT>else:<EOL><INDENT>updated_targets.append({<EOL>'<STR_LIT:id>': current_target['<STR_LIT:id>'],<EOL>'<STR_LIT>': [],<EOL>'<STR_LIT>': current_target['<STR_LIT>'],<EOL>'<STR_LIT>': current_target['<STR_LIT>']<EOL>})<EOL><DEDENT><DEDENT>self.my_osid_object_form._my_map['<STR_LIT>'] = updated_targets<EOL>
stub