For example, I imported Tkinter, and want to check how Tkinter.Frame.__init__ parameter list was defined, and possibly, what is inside the function. I am expecting something like Tkinter.Frame.__init__.__doc__.
(I am not using Python IDE, so the parameter list won’t pop up)
I suggest you have a look at
inspect.getargspecandinspect.getsource: