![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)
Intellisense uses the docstring from wrapped function even with wraps decorator · Issue #1909 · microsoft/vscode-python · GitHub
![Bob Belderbos on Twitter: "When writing #Python decorators, it's best practice to use functools.wraps to not lose the docstring and other metadata of the function you are decorating: https://t.co/8IAp1ZYuJx" / Twitter Bob Belderbos on Twitter: "When writing #Python decorators, it's best practice to use functools.wraps to not lose the docstring and other metadata of the function you are decorating: https://t.co/8IAp1ZYuJx" / Twitter](https://pbs.twimg.com/media/FGBZufVXMAMp927.jpg:large)
Bob Belderbos on Twitter: "When writing #Python decorators, it's best practice to use functools.wraps to not lose the docstring and other metadata of the function you are decorating: https://t.co/8IAp1ZYuJx" / Twitter
![Daily Python Tip 🐍🐧 on Twitter: "Debugging a decorated function: If you decorate a function, its __name__, __doc__ and __module__ might be different than what you expect. Try @functools.wraps to get the Daily Python Tip 🐍🐧 on Twitter: "Debugging a decorated function: If you decorate a function, its __name__, __doc__ and __module__ might be different than what you expect. Try @functools.wraps to get the](https://pbs.twimg.com/media/DtsTOU5XQAEMrvU.jpg)