And perhaps in other decorators as well. As mentioned here I'm hoping to write a function that can programmatically generate functions with a given call signature. Once that's done it will be helpful in implementing a version of functools.wraps that also preserves the original function's call signature (perhaps with a few caveats, such as limited support for default arguments).
And perhaps in other decorators as well. As mentioned here I'm hoping to write a function that can programmatically generate functions with a given call signature. Once that's done it will be helpful in implementing a version of
functools.wrapsthat also preserves the original function's call signature (perhaps with a few caveats, such as limited support for default arguments).