import functools


def _compose(inner, outer):
    """result( arguments ) = outer( inner( arguments )"""
    @functools.wraps(outer)
    def composed(*a, **kw ):    #pylint: disable=C0111
        return outer(inner(*a, **kw))
    return composed