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]
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