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.