a few extensions for the itertools

Fredrik Lundh fredrik at pythonware.com
Mon Nov 20 04:05:51 EST 2006


Mathias Panzenboeck wrote:

> No, because the builtin sum can't handle iterables other than lists.
 > Or dose it? Hmm, maby it dose since any new version and I didn't
 > mention it.

sum() was added in 2.3, and has always supported arbitrary iterables.

</F>




More information about the Python-list mailing list