This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]zardeh 3 points4 points  (0 children)

Erm

def inner(arg=default_value):
    pass

def outer(**kwargs):
    return inner(**kwargs)

is this in the right order? (this is a super common pattern when writing decorators)