code: def __str__(self, indent=0, func_role="func"):
      out = []
      out += self._str_signature()
      out += self._str_index() + [""]
      out += self._str_summary()
      out += self._str_extended_summary()
      for param_list in (
          "Parameters",
          "Traits",
          "Methods",
          "Returns",
          "Raises",
      ):
          out += self._str_param_list(param_list)
      out += self._str_see_also("obj")
      out += self._str_section("Notes")
      out += self._str_references()
      out += self._str_section("Example")
      out += self._str_section("Examples")
      out = self._str_indent(out, indent)
      return "\n".join(out)
  
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 4 for calling the SphinxTraitsDoc obj's underlying member method code with example usage: obj.__str__(indent, func_role) and returns: str