diff options
author | Georg Brandl <georg@python.org> | 2005-09-15 16:02:13 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2005-09-15 16:02:13 (GMT) |
commit | 532dacffd8203c83a5dfedfe672050776a72cfde (patch) | |
tree | 3d6ee9bdcce35e09964ec537ebc41209e0dd5398 | |
parent | 6953772d906dae738894490a594751bb793d66bd (diff) | |
download | cpython-532dacffd8203c83a5dfedfe672050776a72cfde.zip cpython-532dacffd8203c83a5dfedfe672050776a72cfde.tar.gz cpython-532dacffd8203c83a5dfedfe672050776a72cfde.tar.bz2 |
patch [ 1277677 ] tkinter hello world example bug
-rw-r--r-- | Doc/lib/tkinter.tex | 4 |
1 files changed, 3 insertions, 1 deletions
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 @@ class Application(Frame): self.pack() self.createWidgets() -app = Application() +root = Tk() +app = Application(master=root) app.mainloop() +root.destroy() \end{verbatim} |