top | item 39495760 (no title) el_oni | 2 years ago P.s. to make that function an actual generator you could useyield fromInstead ofreturn discuss order hn newest keeganpoppen|2 years ago the function isn't a generator, but that value is a generator expression: https://peps.python.org/pep-0289/
keeganpoppen|2 years ago the function isn't a generator, but that value is a generator expression: https://peps.python.org/pep-0289/
keeganpoppen|2 years ago