<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def patch_toText(self, patches):
 """Take a list of patches and return a textual representation. Args: patches: Array of Patch objects. Returns: Text representation of patches. """

    text = []
    for patch in patches:
      text.append(str(patch))
    return "".join(text)