def parametrized(dec):
    """Decorator for decorators that allows you to pass arguments to your decorators without having
    to wrap them in another closure.
    Ex:
    @parametrized
    def multiply(f, n):
        def aux(*xs, **kws):
            return n * f(*xs, **kws)
        return aux

    @multiply(2)
    def function(a):
        return 10 + a

    print function(3)    # Prints 26
    """

    def layer(*args, **kwargs):
        def repl(f):
            return dec(f, *args, **kwargs)

        return repl

    return layer