line_profiler icon indicating copy to clipboard operation
line_profiler copied to clipboard

Document issues with multiple decorators

Open rkern opened this issue 10 years ago • 0 comments

The @profile decorator needs to be the most proximate decorator to the function since it registers the function object itself with the profiler. Also, since it replaces the function with a wrapper, subsequent decorators may not work since it necessarily mucks with the signature.

rkern avatar Jan 16 '15 19:01 rkern