code: def add_directive_header_no_object_base(self, *args, **kwargs):
      self.add_line = add_line_no_object_base.__get__(self)
      result = add_directive_header(self, *args, **kwargs)
      del self.add_line
      return result
  
imports: import sys
  import os
  import re
  from sphinx.ext.autodoc import ClassDocumenter, _
label_desc: Use image node_id 2 for calling a global function with example usage: add_directive_header_no_object_base() and returns: result