Rodrigo 🐍📝 on Twitter: "Python 🐍 decorators are very powerful! But they can override some important meta-information about your functions... 😱 For example, when you decorate your functions, they lose their docstring...
functools.wraps return type doesn't include __wrapped__ attribute · Issue #4826 · python/typeshed · GitHub
![Matt Harrison on Twitter: "I often teach about Decorators in Python. Many know how to use them, but few can write them. These are tricky because nested functions make our brains hurt. Matt Harrison on Twitter: "I often teach about Decorators in Python. Many know how to use them, but few can write them. These are tricky because nested functions make our brains hurt.](https://pbs.twimg.com/media/FZVCr3VXgAAAXMf.jpg)