From f5eeb5765bc204137bdabe68735e9d6cb5a00793 2013-11-21 06:44:58 From: Paul Ivanov Date: 2013-11-21 06:44:58 Subject: [PATCH] DOC: add a note in %profile about %prun --- diff --git a/IPython/core/magics/basic.py b/IPython/core/magics/basic.py index dcec6be..ec02b8f 100644 --- a/IPython/core/magics/basic.py +++ b/IPython/core/magics/basic.py @@ -305,7 +305,13 @@ Currently the magic system has the following functions:""", @line_magic def profile(self, parameter_s=''): - """Print your currently active IPython profile.""" + """Print your currently active IPython profile. + + See Also + -------- + prun : run code using the Python profiler + (:class:`~IPython.core.magics.execution.ExecutionMagics.prun`) + """ from IPython.core.application import BaseIPythonApplication if BaseIPythonApplication.initialized(): print(BaseIPythonApplication.instance().profile)