Lyndon D'Arcy added the comment:
Apologies, my original post was unclear.
The help(app.quit) which I posted is what we should get when the method
isn't clobbered.
What Serhiy has posted is what you get after running the example as-is. It
shows that after running the example self.q
New submission from Lyndon D'Arcy :
Below is the example as it is. Currently self.quit clobbers a built-in method
of the same name. I would suggest renaming self.quit to self.quit_button or
similar.
---
import tkinter as tk