def __init__(self, func, *args, **kw):
self.__name__ = func.__name__<EOL>self.__doc__ = func.__doc__<EOL>self.func = func<EOL>self.next = None<EOL>self.chained = False<EOL>self.args = args<EOL>self.kw = kw<EOL>
Constructor of Pipe. It takes first argument as a generator function.
        args and kw are default arguments to be used if the Pipe object is
        cascaded directly. The default arguments are replaced by the arguments of
        __call__ operator.

        :param self: self reference.
        :param func: The generator function to be be wrapped.
        :param args: The default arguments to be used for generator function.
        :param kw:  The default keyword arguments to be used for generator function.