code: def add_deprecation_notice_to_docstring(doc, date, instructions):
      return _add_deprecated_function_notice_to_docstring(
          doc, date, instructions
      )
  
imports: import re
  import sys
label_desc: Use image node_id 1 for calling a global function with example usage: add_deprecation_notice_to_docstring(doc, date, instructions) and returns: _add_deprecated_function_notice_to_docstring