class_docstr: Object that handles all magic-related functionality for IPython.
      
class_docstr_tok: ["Object","that","handles","all","magic-related","functionality","for","IPython","."]
docstr: Return a dict of currently available magic functions.
  
  The return dict has the keys 'line' and 'cell', corresponding to the
  two types of magics we support.  Each value is a list of names.
docstr_tok: ["Return","a","dict","of","currently","available","magic","functions",".","The","return","dict","has","the","keys","'line","'","and","'cell","'",",","corresponding","to","the","two","types","of","magics","we","support",".","Each","value","is","a","list","of","names","."]
code: def lsmagic(self):
      """Return a dict of currently available magic functions.
  
      The return dict has the keys 'line' and 'cell', corresponding to the
      two types of magics we support.  Each value is a list of names.
      """
      return self.magics
  
imports: from __future__ import print_function
  import os
  import re
  import sys
  import types
  from getopt import getopt, GetoptError
  from traitlets.config.configurable import Configurable
  from IPython.core import oinspect
  from IPython.core.error import UsageError
  from IPython.core.inputsplitter import ESC_MAGIC, ESC_MAGIC2
  from decorator import decorator
  from IPython.utils.ipstruct import Struct
  from IPython.utils.process import arg_split
  from IPython.utils.py3compat import string_types, iteritems
  from IPython.utils.text import dedent
  from traitlets import Bool, Dict, Instance, observe
  from logging import error
label_desc: Use image node_id 4 for calling the MagicsManager obj's underlying member method code with example usage: obj.lsmagic() and returns: self