<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def subclass(cls, t):
 """Change a term into a Section Term"""

        t.doc = None
        t.terms = []
        t.__class__ = SectionTerm
        return t