[Python-ideas] __len__() for map()

Steven D'Aprano steve at pearwood.info
Mon Nov 26 17:39:16 EST 2018


On Mon, Nov 26, 2018 at 10:14:58PM +0000, Jonathan Fine wrote:

> Briefly, I don't like your suggestion because many important iterables
> don't have a length!

But many important iterables do.

-- 
Steve


More information about the Python-ideas mailing list