parameters: (lst)
docstring: Given a list, return an infinite iterator of iterators.
      Each iterator iterates over the list from the last seen point up to
      the current end-of-list.
  
      In effect, each iterator will give the newly appended elements from the
      previous iterator instantiation time.
docstring_summary: Given a list, return an infinite iterator of iterators.
      Each iterator iterates over the list from the last seen point up to
      the current end-of-list.
docstring_tokens: Given a list return an infinite iterator of iterators . Each iterator iterates over the list from the last seen point up to the current end - of - list .
function: def stream_list(lst):
      """
      Given a list, return an infinite iterator of iterators.
      Each iterator iterates over the list from the last seen point up to
      the current end-of-list.
  
      In effect, each iterator will give the newly appended elements from the
      previous iterator instantiation time.
      """
      def sublist_iterator(start, stop):
          return iter(lst[start:stop])
  
      start = 0
      while True:
          stop = len(lst)
          yield sublist_iterator(start, stop)
          start = stop
function_tokens: def stream_list ( lst ) : def sublist_iterator ( start , stop ) : return iter ( lst [ start : stop ] ) start = 0 while True : stop = len ( lst ) yield sublist_iterator ( start , stop ) start = stop