Today I had a need: I had a tuple of dynamic sequence-like objects. I
wanted to iterate on them reversed, starting with items of the last one and
slowly making my way towards the first one.

In short, I want `reversed(itertools.chain(x, y, z))` that behaves like
`itertools.chain(map(reversed, (z, y, x)))`.

What do you think?
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/FU2VYPQF3SPNF3SGKQUA55HDHWAPJJX6/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to