mirror of https://github.com/python/cpython.git
patch [ 1277677 ] tkinter hello world example bug
This commit is contained in:
parent
6953772d90
commit
532dacffd8
|
@ -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}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue