##// END OF EJS Templates
DOC: add a note in %profile about %prun
Paul Ivanov -
Show More
@@ -305,7 +305,13 b' Currently the magic system has the following functions:""",'
305
305
306 @line_magic
306 @line_magic
307 def profile(self, parameter_s=''):
307 def profile(self, parameter_s=''):
308 """Print your currently active IPython profile."""
308 """Print your currently active IPython profile.
309
310 See Also
311 --------
312 prun : run code using the Python profiler
313 (:class:`~IPython.core.magics.execution.ExecutionMagics.prun`)
314 """
309 from IPython.core.application import BaseIPythonApplication
315 from IPython.core.application import BaseIPythonApplication
310 if BaseIPythonApplication.initialized():
316 if BaseIPythonApplication.initialized():
311 print(BaseIPythonApplication.instance().profile)
317 print(BaseIPythonApplication.instance().profile)
General Comments 0
You need to be logged in to leave comments. Login now