diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2002-11-30 19:12:41 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2002-11-30 19:12:41 (GMT) |
commit | 539594f2f5a65e0738d6042a273b0e42ed7a1088 (patch) | |
tree | 28fa16409038b22910860d266c4b7aa224489c1f /Lib | |
parent | 5b0b00fb21fe2649a60f9d8cd107d7efe6bc9dec (diff) | |
download | cpython-539594f2f5a65e0738d6042a273b0e42ed7a1088.zip cpython-539594f2f5a65e0738d6042a273b0e42ed7a1088.tar.gz cpython-539594f2f5a65e0738d6042a273b0e42ed7a1088.tar.bz2 |
Remove unused import
Remove unused variables since they were the return value from grid(),
which is always None
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/idlelib/aboutDialog.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Lib/idlelib/aboutDialog.py b/Lib/idlelib/aboutDialog.py index 1e1fa92..89c0a48 100644 --- a/Lib/idlelib/aboutDialog.py +++ b/Lib/idlelib/aboutDialog.py @@ -1,11 +1,12 @@ """ about box for idle """ + from Tkinter import * -import tkFont import string, os import textView import idlever + class AboutDialog(Toplevel): """ modal about dialog for idle @@ -66,16 +67,16 @@ class AboutDialog(Toplevel): text='Released under the Python 2.1.1 PSF Licence', justify=LEFT,fg=self.fg,bg=self.bg) labelLicense.grid(row=4,column=0,sticky=W,columnspan=3,padx=10,pady=5) - framePad = Frame(frameBg,height=5,bg=self.bg).grid(row=5,column=0) + Frame(frameBg,height=5,bg=self.bg).grid(row=5,column=0) 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) labelWWW = Label(frameBg,text='www: http://idlefork.sourceforge.net', justify=LEFT,fg=self.fg,bg=self.bg) labelWWW.grid(row=7,column=0,columnspan=2,sticky=W,padx=10,pady=0) - frameDivider = Frame(frameBg,borderwidth=1,relief=SUNKEN, - height=2,bg=self.bg).grid(row=8,column=0,sticky=(E,W),columnspan=3, - padx=5,pady=5) + Frame(frameBg,borderwidth=1,relief=SUNKEN, + height=2,bg=self.bg).grid(row=8,column=0,sticky=EW, + columnspan=3, padx=5, pady=5) labelPythonVer = Label(frameBg,text='Python version: '+ sys.version.split()[0],fg=self.fg,bg=self.bg) labelPythonVer.grid(row=9,column=0,sticky=W,padx=10,pady=0) |