code: def next_py(iterator, default=UNSPECIFIED):
      if default is UNSPECIFIED:
          return next(iterator)
      return next(iterator, default)
  
imports: import inspect
  from tensorflow.python.autograph.utils import tensors
  from tensorflow.python.autograph.utils import type_registry
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import cond
  from tensorflow.python.ops import control_flow_assert
  from tensorflow.python.ops import gen_parsing_ops
  from tensorflow.python.ops import gen_string_ops
  from tensorflow.python.ops import list_ops
  from tensorflow.python.ops import math_ops
label_desc: Use image node_id 40 for calling a global function with example usage: next_py(iterator, default) and returns: next, next