summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-03-25 08:44:59 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-03-25 08:44:59 (GMT)
commit1d5617958fa4e3e1039c62cbe15565e642a9e428 (patch)
tree0e98079f8bd0888c49f1c99a1da400961fa41fdd /Doc/library
parentcd49d5323833ff15cc10a918bdb2afcb02e500a4 (diff)
downloadcpython-1d5617958fa4e3e1039c62cbe15565e642a9e428.zip
cpython-1d5617958fa4e3e1039c62cbe15565e642a9e428.tar.gz
cpython-1d5617958fa4e3e1039c62cbe15565e642a9e428.tar.bz2
Remove extra spaces in doc example.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/tkinter.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/tkinter.rst b/Doc/library/tkinter.rst
index 62eedff..4ee8635 100644
--- a/Doc/library/tkinter.rst
+++ b/Doc/library/tkinter.rst
@@ -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!")