python-makefun
python-makefun copied to clipboard
KeyError when using a string `new_sig` in `@wraps`
def f(a):
return 2 * a
@wraps(f, new_sig="_results_bag()")
def g():
return f(2)
raises a KeyError