This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author HosseinRanjbari
Recipients HosseinRanjbari, docs@python, larry, lys.nikolaou, pablogsal
Date 2022-02-17.18:37:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1645123065.19.0.230809388528.issue46783@roundup.psfhosted.org>
In-reply-to
Content
Hi everyone. I have an idea which is add a new feature to enumerate(iterable, start=0) built-in function. I mean, "start" is ascending by default, we can add a feature to this function to change start in descending order.
for example:
enumerate(iterable, start=100, reverse=True)
reverse: If True, the start is reversed.
(100, iterable[0]), (99, iterable[1],), and so on.
History
Date User Action Args
2022-02-17 18:37:45HosseinRanjbarisetrecipients: + HosseinRanjbari, larry, docs@python, lys.nikolaou, pablogsal
2022-02-17 18:37:45HosseinRanjbarisetmessageid: <1645123065.19.0.230809388528.issue46783@roundup.psfhosted.org>
2022-02-17 18:37:45HosseinRanjbarilinkissue46783 messages
2022-02-17 18:37:45HosseinRanjbaricreate