On Tue, Nov 27, 2018 at 09:36:08AM +1100, Chris Angelico wrote:

> Don't forget, too, that map() can take more than one iterable

I forgot about that!

But in this case, I think the answer is obvious: the length of the map 
object is the *smallest* length of the iterables, ignoring any unsized 
or infinite ones.

Same would apply to zip().

But as per my previous post, there are other problems with this concept 
that aren't so easy to solve.



-- 
Steve
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to