Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1d56179

Browse files
committed
Remove extra spaces in doc example.
1 parent cd49d53 commit 1d56179

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/library/tkinter.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,9 @@ A Simple Hello World Program
193193
self.hi_there["command"] = self.say_hi
194194
self.hi_there.pack(side="top")
195195

196-
self.QUIT = tk.Button(self, text = "QUIT", fg = "red",
197-
command = root.destroy)
198-
self.QUIT.pack(side = "bottom")
196+
self.QUIT = tk.Button(self, text="QUIT", fg="red",
197+
command=root.destroy)
198+
self.QUIT.pack(side="bottom")
199199

200200
def say_hi(self):
201201
print("hi there, everyone!")

0 commit comments

Comments
 (0)