funcproxy now copy the function name

This commit is contained in:
Christophe de Vienne 2012-08-12 15:05:56 +02:00
parent 55e2227022
commit 1858e8ec2d

View File

@ -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