##// END OF EJS Templates
Transform code before %prun/%%prun runs
Jason Grout -
Show More
@@ -181,6 +181,7 b' python-profiler package from non-free.""")'
181 list_all=True, posix=False)
181 list_all=True, posix=False)
182 if cell is not None:
182 if cell is not None:
183 arg_str += '\n' + cell
183 arg_str += '\n' + cell
184 arg_str = self.shell.input_splitter.transform_cell(arg_str)
184 return self._run_with_profiler(arg_str, opts, self.shell.user_ns)
185 return self._run_with_profiler(arg_str, opts, self.shell.user_ns)
185
186
186 def _run_with_profiler(self, code, opts, namespace):
187 def _run_with_profiler(self, code, opts, namespace):
General Comments 0
You need to be logged in to leave comments. Login now