![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)
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
![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
![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)