I am not sure this is possible. At least for such testing/profiling purposes, you could just pop the function out and explicitly pass the necessary data.
Best, Travis On Wednesday, September 19, 2018 at 11:05:26 PM UTC+10, Jori Mäntysalo wrote: > > %lprun is a nice tool that shows how much time each line of the function > uses. But can I do profiling for an internal function defined inside outer > function? > > -- > Jori Mäntysalo > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.