code: def _py_list_pop(list_, i):
      """Overload of list_pop that executes a Python list append."""
      if i is None:
          x = list_.pop()
      else:
          x = list_.pop(i)
      return list_, x
  
file_path: DALI/dali/python/nvidia/dali/_autograph/operators/data_structures.py
imports: import collections
  from nvidia.dali._autograph.utils import hooks
label_desc: Use image node_id 6 for calling a global function with example usage: _py_list_pop(list_, i) and returns: list_,  x