<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(target, value):
 """ Replace the specified object :param str target: A string pointing to the target to patch. :param object value: The value to replace the target with. :return: A ``Patch`` object. """

    patch = current_space().patch_for(target)
    patch.set_value(value)
    return patch