code: def setup(app):
      app.add_config_value("refcount_file", "", True)
      app.add_config_value("stable_abi_file", "", True)
      app.connect("builder-inited", init_annotations)
  
      # monkey-patch C object...
      CObject.option_spec = {
          "noindex": directives.flag,
          "stableabi": directives.flag,
      }
      old_handle_signature = CObject.handle_signature
  
      def new_handle_signature(self, sig, signode):
          signode.parent["stableabi"] = "stableabi" in self.options
          return old_handle_signature(self, sig, signode)
  
      CObject.handle_signature = new_handle_signature
      return {"version": "1.0", "parallel_read_safe": True}
  
file_path: cpython/Doc/tools/extensions/c_annotations.py
imports: from os import path
  import docutils
  from docutils import nodes
  from docutils.parsers.rst import directives
  from docutils.parsers.rst import Directive
  from docutils.statemachine import StringList
  from sphinx.locale import _
  import csv
  from sphinx import addnodes
  from sphinx.domains.c import CObject
label_desc: Use image node_id 2 for calling a global function with example usage: setup(app) and returns: dict, old_handle_signature