<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(source, sink):
 """Create a direct link between a source and a sink. Implementation:: sink = sink() for value in source():
 sink.send(value) .. |patch| replace:: :py:func:`patch` """

    sink = sink()
    for v in source():
        try:
            sink.send(v)
        except StopIteration:
            return