mirror of
https://github.com/python/cpython.git
synced 2025-07-24 19:54:21 +00:00
Remove extra spaces in doc example.
This commit is contained in:
parent
cd49d53238
commit
1d5617958f
1 changed files with 3 additions and 3 deletions
|
@ -193,9 +193,9 @@ A Simple Hello World Program
|
|||
self.hi_there["command"] = self.say_hi
|
||||
self.hi_there.pack(side="top")
|
||||
|
||||
self.QUIT = tk.Button(self, text = "QUIT", fg = "red",
|
||||
command = root.destroy)
|
||||
self.QUIT.pack(side = "bottom")
|
||||
self.QUIT = tk.Button(self, text="QUIT", fg="red",
|
||||
command=root.destroy)
|
||||
self.QUIT.pack(side="bottom")
|
||||
|
||||
def say_hi(self):
|
||||
print("hi there, everyone!")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue