P29 · Functions, Decorators & Generators
closures, decorators, iterators & generators
Python's functional core, rebuilt by hand: closures that carry state, decorators as ordinary wrap-and-return code, and generators whose suspended frames power lazy pipelines, context managers - and, one pillar on, async/await.