Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
@functools.wraps(func)
to the wrapper
function of @uamethod
This way we can decorate a function which is already decorated with `@uamethod` again and things like `func.__name__` will correctly return the name of the decorated function and not `wrapper`.
- Loading branch information