2 ms·
I'm very confused, for some reason I read about python generators way later than 2001 (2010?). Maybe they upgraded some syntax and it made me read about it.
by agumonkey 4y ago
I'm very confused, for some reason I read about python generators way later than 2001 (2010?). Maybe they upgraded some syntax and it made me read about it.
- dragonwriter 4y ago> I'm very confused, for some reason I read about python generators way later than 2001 (2010?). Maybe they upgraded some syntax and it made me read about it. After generators were introduced themselves, Generator expressions were added in 2.4, coroutine support with yield as an expression in 2.5, “yield from” to delegate to a subgenerator in 3.3. So, yeah, that's plausible.