diff options
author | Kurt B. Kaiser <kbk@shore.net> | 2003-06-16 18:46:42 (GMT) |
---|---|---|
committer | Kurt B. Kaiser <kbk@shore.net> | 2003-06-16 18:46:42 (GMT) |
commit | 73453757718f13af156356dabdd0dea7ccc396ba (patch) | |
tree | ff1e8ed49c69b08ef0489dbf7e35f90a35cf9c8f /Lib | |
parent | 7006fa14d8e6e79c8db27916fea7b6319796153a (diff) | |
download | cpython-73453757718f13af156356dabdd0dea7ccc396ba.zip cpython-73453757718f13af156356dabdd0dea7ccc396ba.tar.gz cpython-73453757718f13af156356dabdd0dea7ccc396ba.tar.bz2 |
Add ':' after IDLE version, fix spacing on a couple of lines I missed
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/idlelib/aboutDialog.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Lib/idlelib/aboutDialog.py b/Lib/idlelib/aboutDialog.py index d88cfcc..8960b00 100644 --- a/Lib/idlelib/aboutDialog.py +++ b/Lib/idlelib/aboutDialog.py @@ -54,7 +54,8 @@ class AboutDialog(Toplevel): labelDesc.grid(row=2, column=0, sticky=W, columnspan=3, padx=10, pady=5) labelEmail = Label(frameBg, text='email: idle-dev@python.org', justify=LEFT, fg=self.fg, bg=self.bg) - labelEmail.grid(row=6,column=0,columnspan=2,sticky=W,padx=10,pady=0) + labelEmail.grid(row=6, column=0, columnspan=2, + sticky=W, padx=10, pady=0) labelWWW = Label(frameBg, text='www: http://www.python.org/idle/', justify=LEFT, fg=self.fg, bg=self.bg) labelWWW.grid(row=7, column=0, columnspan=2, sticky=W, padx=10, pady=0) @@ -90,7 +91,7 @@ class AboutDialog(Toplevel): Frame(frameBg, borderwidth=1, relief=SUNKEN, height=2, bg=self.bg).grid(row=11, column=0, sticky=EW, columnspan=3, padx=5, pady=5) - idle_v = Label(frameBg, text='IDLE version ' + idlever.IDLE_VERSION, + idle_v = Label(frameBg, text='IDLE version: ' + idlever.IDLE_VERSION, fg=self.fg, bg=self.bg) idle_v.grid(row=12, column=0, sticky=W, padx=10, pady=0) idle_button_f = Frame(frameBg, bg=self.bg) @@ -132,7 +133,7 @@ class AboutDialog(Toplevel): textView.TextViewer(self, title, None, data) def ViewFile(self, viewTitle, viewFile, encoding=None): - fn=os.path.join(os.path.abspath(os.path.dirname(__file__)),viewFile) + fn = os.path.join(os.path.abspath(os.path.dirname(__file__)), viewFile) if encoding: import codecs try: @@ -156,6 +157,6 @@ if __name__ == '__main__': root = Tk() def run(): import aboutDialog - aboutDialog.AboutDialog(root,'About') + aboutDialog.AboutDialog(root, 'About') Button(root, text='Dialog', command=run).pack() root.mainloop() |