def remove_term(self, term, remove_from_doc=True):
try:<EOL><INDENT>self.terms.remove(term)<EOL><DEDENT>except ValueError:<EOL><INDENT>pass<EOL><DEDENT>if remove_from_doc:<EOL><INDENT>self.doc.remove_term(term)<EOL><DEDENT>
Remove a term from the terms. Must be the identical term, the same object