...
This commit is contained in:
@@ -101,7 +101,6 @@ def func_with_args(*names):
|
|||||||
for name in names:
|
for name in names:
|
||||||
if args_funcs.setdefault(name, f) is not f:
|
if args_funcs.setdefault(name, f) is not f:
|
||||||
raise ValueError('the args_func {} is being redefined'.format(name))
|
raise ValueError('the args_func {} is being redefined'.format(name))
|
||||||
args_funcs[name] = f
|
|
||||||
return f
|
return f
|
||||||
|
|
||||||
return w
|
return w
|
||||||
|
|||||||
Reference in New Issue
Block a user