8 Jul
2017
8 Jul
'17
8:17 a.m.
Terry J. Reedy added the comment:
Are you looking for something like:
Let it = iter(words). When next(it) returns 'defenestrate', insertion at the beginning moves the original 'defenestrate' over so that next(words) returns 'defenestrate' again.
?
----------
nosy: +terry.reedy
_______________________________________
Python tracker