code: def __init__(self, cls, modulename="", func_doc=SphinxFunctionDoc):
      if not inspect.isclass(cls):
          raise ValueError("Initialise using a class. Got %r" % cls)
      self._cls = cls
  
      if modulename and not modulename.endswith("."):
          modulename += "."
      self._mod = modulename
      self._name = cls.__name__
      self._func_doc = func_doc
  
      docstring = pydoc.getdoc(cls)
      docstring = docstring.split("\n")
  
      # De-indent paragraph
      try:
          indent = min(
              len(s) - len(s.lstrip()) for s in docstring if s.strip()
          )
      except ValueError:
          indent = 0
  
      for n, line in enumerate(docstring):
          docstring[n] = docstring[n][indent:]
  
      self._doc = docscrape.Reader(docstring)
      self._parsed_data = {
          "Signature": "",
          "Summary": "",
          "Description": [],
          "Extended Summary": [],
          "Parameters": [],
          "Returns": [],
          "Raises": [],
          "Warns": [],
          "Other Parameters": [],
          "Traits": [],
          "Methods": [],
          "See Also": [],
          "Notes": [],
          "References": "",
          "Example": "",
          "Examples": "",
          "index": {},
      }
  
      self._parse()
  
file_path: medpy/doc/numpydoc/numpydoc/traitsdoc.py
imports: import inspect
  import os
  import pydoc
  import collections
  from .None import docscrape
  from .None import docscrape_sphinx
  from .docscrape_sphinx import SphinxClassDoc, SphinxFunctionDoc, SphinxDocString
  from .None import numpydoc
  from .None import comment_eater
label_desc: Use image node_id 1 to create a new SphinxTraitsDoc object from inherited base classes: SphinxClassDoc with example: obj = SphinxTraitsDoc(cls, modulename, func_doc)