SyntaxFix
Write A Post
Hire A Developer
Questions
You can also use inspect.getdoc. It cleans up the __doc__ by normalizing tabs to spaces and left shifting the doc body to remove common leading spaces.
inspect.getdoc
__doc__