<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def remove_child(self, child):
 """Remove the term from this term's children. """

        assert isinstance(child, Term)
        self.children.remove(child)
        self.doc.remove_term(child)