MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/igvny1/python_goes_brrrr/g2x3fhf
r/ProgrammerHumor • u/das_freak • Aug 26 '20
789 comments sorted by
View all comments
Show parent comments
4
Both do essentially the same thing, but from_iterable is the lazier method. Neither really seems more pythonic imo.
1 u/murtaza64 Aug 26 '20 Ah I see. Seeing as it's gonna exhaust the iterable either way, I guess they're the same
1
Ah I see. Seeing as it's gonna exhaust the iterable either way, I guess they're the same
4
u/[deleted] Aug 26 '20
Both do essentially the same thing, but from_iterable is the lazier method. Neither really seems more pythonic imo.