On Tue, Dec 11, 2018 at 11:10 AM Terry Reedy <tjre...@udel.edu> wrote:

> > I _think_ someone may be advocating that map() could return an
> > iterable if it is passed a iterable,
>
> I believe you mean 'iterator' rather than 'iterable' here and below as a
> sequence is an iterable.
>

well, the iterator / iterable distinction is important in this thread in
many places, so I should have been more careful about that -- but not for
this reason. Yes, a a sequence is an iterable, but what I meant was an
"iterable-that-is-not-a-sequence".

-CHB

-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

chris.bar...@noaa.gov
_______________________________________________
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