<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_for(self, path):
 """Returns the ``Patch`` for the target path, creating it if necessary. :param str path: The absolute module path to the target. :return: The mapped ``Patch``. :rtype: Patch """


        if path not in self._patches:
            self._patches[path] = Patch(path)

        return self._patches[path]