class_docstr: Magics that provide central IPython functionality.
  
  These are various magics that don't fit into specific categories but that
  are all part of the base 'IPython experience'.
docstr: DEPRECATED since IPython 2.0.
  
  Raise `UsageError`. To profile code use the :magic:`prun` magic.
  
  
  See Also
  --------
  prun : run code using the Python profiler (:magic:`prun`)
code: def profile(self, parameter_s=""):
      """DEPRECATED since IPython 2.0.
  
      Raise `UsageError`. To profile code use the :magic:`prun` magic.
  
  
      See Also
      --------
      prun : run code using the Python profiler (:magic:`prun`)
      """
      warn(
          "%profile is now deprecated. Please use get_ipython().profile instead."
      )
      from IPython.core.application import BaseIPythonApplication
  
      if BaseIPythonApplication.initialized():
          print(BaseIPythonApplication.instance().profile)
      else:
          error(
              "profile is an application-level value, but you don't appear to be in an IPython application"
          )
  
imports: from __future__ import print_function
  from __future__ import absolute_import
  import argparse
  import io
  import sys
  from pprint import pformat
  from IPython.core import magic_arguments, page
  from IPython.core.error import UsageError
  from IPython.core.magic import Magics, magics_class, line_magic, magic_escapes
  from IPython.utils.text import format_screen, dedent, indent
  from IPython.testing.skipdoctest import skip_doctest
  from IPython.utils.ipstruct import Struct
  from IPython.utils.py3compat import unicode_type
  from warnings import warn
  from logging import error
label_desc: Use image node_id 6 for calling the BasicMagics obj's underlying member method code with example usage: obj.profile(parameter_s) without return types