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 dict of documentation of magic functions.
  
  The return dict has the keys 'line' and 'cell', corresponding to the
  two types of magics we support. Each value is a dict keyed by magic
  name whose value is the function docstring. If a docstring is
  unavailable, the value of `missing` is used instead.
  
  If brief is True, only the first line of each docstring will be returned.
docstr_tok: ["Return","dict","of","documentation","of","magic","functions",".","The","return","dict","has","the","keys","'line","'","and","'cell","'",",","corresponding","to","the","two","types","of","magics","we","support",".","Each","value","is","a","dict","keyed","by","magic","name","whose","value","is","the","function","docstring",".","If","a","docstring","is","unavailable",",","the","value","of","`","missing","`","is","used","instead",".","If","brief","is","True",",","only","the","first","line","of","each","docstring","will","be","returned","."]
code: def lsmagic_docs(self, brief=False, missing=""):
      """Return dict of documentation of magic functions.
  
      The return dict has the keys 'line' and 'cell', corresponding to the
      two types of magics we support. Each value is a dict keyed by magic
      name whose value is the function docstring. If a docstring is
      unavailable, the value of `missing` is used instead.
  
      If brief is True, only the first line of each docstring will be returned.
      """
      docs = {}
      for m_type in self.magics:
          m_docs = {}
          for m_name, m_func in iteritems(self.magics[m_type]):
              if m_func.__doc__:
                  if brief:
                      m_docs[m_name] = m_func.__doc__.split("\n", 1)[0]
                  else:
                      m_docs[m_name] = m_func.__doc__.rstrip()
              else:
                  m_docs[m_name] = missing
          docs[m_type] = m_docs
      return docs
  
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 5 for calling the MagicsManager obj's underlying member method code with example usage: obj.lsmagic_docs(brief, missing) and returns: docs