code: def make_nonlocal_reader():
      v_nonlocal = 1
  
      def inner(trials=trials):
          for t in trials:
              v_nonlocal
              v_nonlocal
              v_nonlocal
              v_nonlocal
              v_nonlocal
              v_nonlocal
              v_nonlocal
              v_nonlocal
              v_nonlocal
              v_nonlocal
              v_nonlocal
              v_nonlocal
              v_nonlocal
              v_nonlocal
              v_nonlocal
              v_nonlocal
              v_nonlocal
              v_nonlocal
              v_nonlocal
              v_nonlocal
              v_nonlocal
              v_nonlocal
              v_nonlocal
              v_nonlocal
              v_nonlocal
  
      inner.__name__ = "read_nonlocal"
      return inner
  
imports: from collections import deque, namedtuple
label_desc: Use image node_id 2 for calling a global function with example usage: make_nonlocal_reader() and returns: inner