<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def update_docs(self, t, module):
 """Updates the documentation for the specified type using the module predocs."""
        
        #We need to look in the parent module docstrings for this types decorating tags.
        key = "{}.{}".format(module.name, t.name)
        if key in module.predocs:
            t.docstring = self.docparser.to_doc(module.predocs[key][0], t.name)
            t.docstart, t.docend = (module.predocs[key][1], module.predocs[key][2])