![Honza. on Twitter: "You can also use the functools.wraps decorator to have all those doc strings handled for you. It's a decoratorception 😂… " Honza. on Twitter: "You can also use the functools.wraps decorator to have all those doc strings handled for you. It's a decoratorception 😂… "](https://pbs.twimg.com/media/Dthvy-mW4AUU4Ye.jpg)
Honza. on Twitter: "You can also use the functools.wraps decorator to have all those doc strings handled for you. It's a decoratorception 😂… "
![PyBites on Twitter: "When writing decorators in #Python make sure you use functools.wraps so you don't lose the docstring and other metadata of the function you are decorating: https://t.co/2Lb7v6GUMq" / Twitter PyBites on Twitter: "When writing decorators in #Python make sure you use functools.wraps so you don't lose the docstring and other metadata of the function you are decorating: https://t.co/2Lb7v6GUMq" / Twitter](https://pbs.twimg.com/media/EdSEOFpWkAImUoG.png)
PyBites on Twitter: "When writing decorators in #Python make sure you use functools.wraps so you don't lose the docstring and other metadata of the function you are decorating: https://t.co/2Lb7v6GUMq" / Twitter
![Intellisense uses the docstring from wrapped function even with wraps decorator · Issue #1909 · microsoft/vscode-python · GitHub Intellisense uses the docstring from wrapped function even with wraps decorator · Issue #1909 · microsoft/vscode-python · GitHub](https://user-images.githubusercontent.com/13176540/53383271-01e11180-39b2-11e9-88be-9f43f0b1b142.png)