commit | 532dacffd8203c83a5dfedfe672050776a72cfde | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Thu Sep 15 16:02:13 2005 +0000 |
committer | Georg Brandl <georg@python.org> | Thu Sep 15 16:02:13 2005 +0000 |
tree | 3d6ee9bdcce35e09964ec537ebc41209e0dd5398 | |
parent | 6953772d906dae738894490a594751bb793d66bd [diff] [blame] |
patch [ 1277677 ] tkinter hello world example bug
diff --git a/Doc/lib/tkinter.tex b/Doc/lib/tkinter.tex index 943c4f2..f223ff6 100644 --- a/Doc/lib/tkinter.tex +++ b/Doc/lib/tkinter.tex
@@ -258,8 +258,10 @@ self.pack() self.createWidgets() -app = Application() +root = Tk() +app = Application(master=root) app.mainloop() +root.destroy() \end{verbatim}