class_docstr: Because there doesn't appear to be any other Markdown-friendly
  docstring support in Python.
  
  See also:
  
    * [PEP 256](https://www.python.org/dev/peps/pep-0256/)
    * [`inspect`](https://docs.python.org/3/library/inspect.html)
      
docstr: Get the docstring for the given object.
  
      obj:
  class definition for which its docstring will be inspected and parsed
  
      parse:
  flag to parse docstring or use the raw text; defaults to `False`
  
      arg_dict:
  optional dictionary of forward references, if parsed
  
      returns:
  list of lines of markdown
          
docstr_tok: ["Get","the","docstring","for","the","given","object",".","obj",":","class","definition","for","which","its","docstring","will","be","inspected","and","parsed","parse",":","flag","to","parse","docstring","or","use","the","raw","text",";","defaults","to","`","False","`","arg_dict",":","optional","dictionary","of","forward","references",",","if","parsed","returns",":","list","of","lines","of","markdown"]
code: def get_docstring(
      self,
      obj,
      parse=False,
      arg_dict: dict = None,
  ) -> typing.List[str]:
      """
      Get the docstring for the given object.
  
          obj:
      class definition for which its docstring will be inspected and parsed
  
          parse:
      flag to parse docstring or use the raw text; defaults to `False`
  
          arg_dict:
      optional dictionary of forward references, if parsed
  
          returns:
      list of lines of markdown
      """
      if arg_dict is None:
          arg_dict = {}
  
      local_md: typing.List[str] = []
      raw_docstring = obj.__doc__
  
      if raw_docstring:
          docstring = inspect.cleandoc(raw_docstring)
  
          if parse:
              local_md.append(
                  self.parse_method_docstring(docstring, arg_dict)
              )
          else:
              local_md.append(docstring)
  
          local_md.append("\n")
  
      return local_md
  
imports: from icecream import ic
  import inspect
  import os
  import re
  import sys
  import traceback
  import typing
label_desc: Use image node_id 6 for calling the PackageDoc obj's underlying member method code with example usage: obj.get_docstring(obj, parse, arg_dict) and returns: local_md