Python Decorators
Publish date: Aug 2, 2019
Last updated: Apr 22, 2020
Last updated: Apr 22, 2020
- First class Functions
- treat functions like objects
- Closure
- remembers out inner function even after outer function has stopped executing
Use-cases
- Logging
- Timing how long a function ran 3.
Footnotes
[^2]: