Phrase Iterator - Object ?

Me too.

I need the functional equivalent of

  
iter = renoise.song().pattern_iterator:lines_in_pattern(  
 renoise.song().selected_pattern_index)  
  

But for the phrase editor. What are my options? The Api 3 to 4 post mentions:

  
enoise.song().instruments[].phrases[]:lines_in_range(index_from, index_to)  
 -> [array of renoise.PatternLine objects]  
  

But I don’t need and array of renoise.PatternLine objects, insteadI need an [iterator with pos, line (renoise.PatternTrackLine object)], or are these the same thing?