How do I use line_profiler on a wrapped function?
How do I use line_profiler on a wrapped function? Question: I’ve been trying to use line_profiler on a wrapped function. However, the wrapper function gets profiled instead of the wrapped function. The executable snippet below shows that I can see that my @decorate wrapper function gets profiled instead of my d() function. Snippet: testy_profiler.py from …
Total answers: 2