diff options
Diffstat (limited to 'Lib/tkinter/scrolledtext.py')
-rw-r--r-- | Lib/tkinter/scrolledtext.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/tkinter/scrolledtext.py b/Lib/tkinter/scrolledtext.py index d2a9987..d9af67c 100644 --- a/Lib/tkinter/scrolledtext.py +++ b/Lib/tkinter/scrolledtext.py @@ -39,11 +39,10 @@ class ScrolledText(Text): def example(): - import __main__ from tkinter.constants import END stext = ScrolledText(bg='white', height=10) - stext.insert(END, __main__.__doc__) + stext.insert(END, __doc__) stext.pack(fill=BOTH, side=LEFT, expand=True) stext.focus_set() stext.mainloop() |