code: def _warn_for_function(warning, function):
      warnings.warn_explicit(
          warning,
          type(warning),
          lineno=function.__code__.co_firstlineno,
          filename=function.__code__.co_filename,
      )
  
imports: import inspect
  import sys
  from .None import _tracing
  from .callers import _Result
  from .hooks import HookImpl, _HookRelay, _HookCaller, normalize_hookimpl_opts
  import warnings
label_desc: Use image node_id 1 for calling a global function with example usage: _warn_for_function(warning, function) without return types