mirror of
https://github.com/python/cpython.git
synced 2026-05-29 15:45:56 -04:00
05eba1fdc8
much to reduce the size of the code, but greatly improves its clarity. It's also quicker in what's probably the most common case (the argument iterable is a list). Against it, if the iterable isn't a list or a tuple, a temp tuple is materialized containing the entire input sequence, and that's a bigger temp memory burden. Yawn.