James Briggs
1 min readMay 21, 2020

--

Hi Miklos, yes I’ve worded that very poorly, of-course, using return does not produce a generator. The comparison between them was supposed to be simplified by not explicitly identifying the difference, however on rereading with your comment it’s clearly misleading.

I’ve updated this to remove the ambiguity, thanks for highlighting it.

--

--

James Briggs
James Briggs

Written by James Briggs

Freelance ML engineer learning and writing about everything. I post a lot on YT https://www.youtube.com/c/jamesbriggs

No responses yet