Commit 539594f2 authored by Neal Norwitz's avatar Neal Norwitz

Remove unused import

Remove unused variables since they were the return value from grid(),
which is always None
parent 5b0b00fb
""" """
about box for idle about box for idle
""" """
from Tkinter import * from Tkinter import *
import tkFont
import string, os import string, os
import textView import textView
import idlever import idlever
class AboutDialog(Toplevel): class AboutDialog(Toplevel):
""" """
modal about dialog for idle modal about dialog for idle
...@@ -66,16 +67,16 @@ class AboutDialog(Toplevel): ...@@ -66,16 +67,16 @@ class AboutDialog(Toplevel):
text='Released under the Python 2.1.1 PSF Licence', text='Released under the Python 2.1.1 PSF Licence',
justify=LEFT,fg=self.fg,bg=self.bg) justify=LEFT,fg=self.fg,bg=self.bg)
labelLicense.grid(row=4,column=0,sticky=W,columnspan=3,padx=10,pady=5) 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', labelEmail = Label(frameBg,text='email: idle-dev@python.org',
justify=LEFT,fg=self.fg,bg=self.bg) 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://idlefork.sourceforge.net', labelWWW = Label(frameBg,text='www: http://idlefork.sourceforge.net',
justify=LEFT,fg=self.fg,bg=self.bg) justify=LEFT,fg=self.fg,bg=self.bg)
labelWWW.grid(row=7,column=0,columnspan=2,sticky=W,padx=10,pady=0) labelWWW.grid(row=7,column=0,columnspan=2,sticky=W,padx=10,pady=0)
frameDivider = Frame(frameBg,borderwidth=1,relief=SUNKEN, Frame(frameBg,borderwidth=1,relief=SUNKEN,
height=2,bg=self.bg).grid(row=8,column=0,sticky=(E,W),columnspan=3, height=2,bg=self.bg).grid(row=8,column=0,sticky=EW,
padx=5,pady=5) columnspan=3, padx=5, pady=5)
labelPythonVer = Label(frameBg,text='Python version: '+ labelPythonVer = Label(frameBg,text='Python version: '+
sys.version.split()[0],fg=self.fg,bg=self.bg) sys.version.split()[0],fg=self.fg,bg=self.bg)
labelPythonVer.grid(row=9,column=0,sticky=W,padx=10,pady=0) labelPythonVer.grid(row=9,column=0,sticky=W,padx=10,pady=0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment