Closed msukmanowsky closed 8 years ago
Hi, Mike!
Why is this approach better than using functools.partial
?
Completely spaced out on functools.partial
before writing this. Don't think there'd be any clear advantage to using what I have here compared to partial
, closing out.
This PR allows users to pass optional args and kwargs to their
action
function. It combines args that may have been received fromprivileged_action()
and updates the documentation to clarify that.Also makes a few very minor improvements.