6 ms·
Yes, but I think this is cleared up if you consider that calling a generator function does not execute its body, but return generator object. It doesn't really
by martin_k 15y ago
Yes, but I think this is cleared up if you consider that calling a generator function does not execute its body, but return generator object. It doesn't really matter if it's a lambda or a regular named function.