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 ammar2
Recipients Julien H, ammar2
Date 2020-06-19.08:54:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1592556892.61.0.633292665978.issue41030@roundup.psfhosted.org>
In-reply-to
Content
Julien, in the REPL "_" represents the last evaluated expression. So you can do:

>>> iter(range(10))
<range_iterator object at 0x03436578>
>>> list(_)
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]

Do you feel like that covers what you're asking for?
History
Date User Action Args
2020-06-19 08:54:52ammar2setrecipients: + ammar2, Julien H
2020-06-19 08:54:52ammar2setmessageid: <1592556892.61.0.633292665978.issue41030@roundup.psfhosted.org>
2020-06-19 08:54:52ammar2linkissue41030 messages
2020-06-19 08:54:52ammar2create