funcproxy now copy the function name
This commit is contained in:
parent
55e2227022
commit
1858e8ec2d
@ -64,6 +64,7 @@ def funcproxy(func):
|
||||
newfunc._is_wsme_funcproxy = True
|
||||
newfunc._original_func = func
|
||||
newfunc.__doc__ = func.__doc__
|
||||
newfunc.__name__ = func.__name__
|
||||
return newfunc
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user