summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/aboutDialog.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/aboutDialog.py')
-rw-r--r--Lib/idlelib/aboutDialog.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/aboutDialog.py b/Lib/idlelib/aboutDialog.py
index c121061..afdafd2 100644
--- a/Lib/idlelib/aboutDialog.py
+++ b/Lib/idlelib/aboutDialog.py
@@ -3,7 +3,7 @@
"""
from Tkinter import *
-import string, os
+import os
import textView
import idlever
@@ -70,7 +70,7 @@ class AboutDialog(Toplevel):
tkVer[len(tkVer)-1] = str('%.3g' % (float('.'+tkVer[len(tkVer)-1])))[2:]
if tkVer[len(tkVer)-1] == '':
tkVer[len(tkVer)-1] = '0'
- tkVer = string.join(tkVer,'.')
+ tkVer = '.'.join(tkVer)
labelTkVer = Label(frameBg, text='Tk version: '+
tkVer, fg=self.fg, bg=self.bg)
labelTkVer.grid(row=9, column=1, sticky=W, padx=2, pady=0)