@property
    def __doc__(self):
        def composed_doc(*fs):
            """Generate a docstring for the composition of fs.
            """
            if not fs:
                # Argument name for the docstring.
                return '*args, **kwargs'

            return '{f}({g})'.format(f=fs[0].__name__, g=composed_doc(*fs[1:]))

        try:
            return (
                'lambda *args, **kwargs: ' +
                composed_doc(*reversed((self.first,) + self.funcs))
            )
        except __HOLE__:
            # One of our callables does not have a `__name__`, whatever.
            return 'A composition of functions'
dataset/ETHPy150Open pytoolz/toolz/toolz/functoolz.py/Compose.__doc__