3 ms·
Generators mostly are just a convenient syntax for iterators (i.e. if you wanted, you could have generators years ago, just required to do some awkward boilerpl
by smsm42 13y ago
Generators mostly are just a convenient syntax for iterators (i.e. if you wanted, you could have generators years ago, just required to do some awkward boilerplate code).