Asked By – Teifion
I have the following function:
def my_func(): """My docstring is both funny and informative""" pass
How do I get access to the docstring?
Now we will see solution for issue: Getting the docstring from a function
Interactively, you can display it with
Or from code you can retrieve it with