code: def _funcs_to_names(funclist, namelist):
      result = []
      for f, name in zip(funclist, namelist):
          if f and f[0]:
              result.append((name, f[1]))
          else:
              result.append(f)
      return result
  
imports: import re
  import sys
  import types
  import copy
  import os
  import inspect
label_desc: Use image node_id 3 for calling a global function with example usage: _funcs_to_names(funclist, namelist) and returns: result