From 539594f2f5a65e0738d6042a273b0e42ed7a1088 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Sat, 30 Nov 2002 19:12:41 +0000 Subject: Remove unused import Remove unused variables since they were the return value from grid(), which is always None --- Lib/idlelib/aboutDialog.py | 11 ++++++----- 1 file 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) -- cgit v0.12