#Python mini tip:
The easiest way to create a signature-preserving function decorator is with `contextlib.contextmanager`. Use it on a generator function with one `yield` statement, and it will create a combined context manager and function decorator.




