##// 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 306 @line_magic
307 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 315 from IPython.core.application import BaseIPythonApplication
310 316 if BaseIPythonApplication.initialized():
311 317 print(BaseIPythonApplication.instance().profile)
General Comments 0
You need to be logged in to leave comments. Login now