code: def new_str(self, indent=0, func_role="obj"):
      rv = orig_str(self, indent=indent, func_role=func_role)
      if "Backends" in self:
          lines = self._str_section("Backends")
          # Remove "Backends" as a section and add a divider instead
          lines[0] = "----"
          lines = self._str_indent(lines, indent)
          rv += "\n".join(lines)
      return rv
  
file_path: networkx/doc/conf.py
imports: import os
  from datetime import date
  from sphinx_gallery.sorting import ExplicitOrder, FileNameSortKey
  from warnings import filterwarnings
  import networkx
  from numpydoc.docscrape import NumpyDocString
  from numpydoc.docscrape_sphinx import SphinxDocString
label_desc: Use image node_id 3 for calling a global function with example usage: new_str(indent, func_role) and returns: rv