summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/ClassBrowser.py
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2002-09-15 22:09:16 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2002-09-15 22:09:16 (GMT)
commita2876442047ac41abce63b5d0e987e9d807c694f (patch)
tree306ccfaace9fbe890f42c265642f3b9a6e13d862 /Lib/idlelib/ClassBrowser.py
parent908aece9f755e4418c19c26b036949b19b2162d3 (diff)
downloadcpython-a2876442047ac41abce63b5d0e987e9d807c694f.zip
cpython-a2876442047ac41abce63b5d0e987e9d807c694f.tar.gz
cpython-a2876442047ac41abce63b5d0e987e9d807c694f.tar.bz2
Merge Py Idle changes
Rev 1.13 (string methods)
Diffstat (limited to 'Lib/idlelib/ClassBrowser.py')
-rw-r--r--Lib/idlelib/ClassBrowser.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/idlelib/ClassBrowser.py b/Lib/idlelib/ClassBrowser.py
index 19f3b7e..6e4b2a3 100644
--- a/Lib/idlelib/ClassBrowser.py
+++ b/Lib/idlelib/ClassBrowser.py
@@ -12,7 +12,6 @@ XXX TO DO:
import os
import sys
-import string
import pyclbr
# XXX Patch pyclbr with dummies if it's vintage Python 1.5.2:
@@ -117,7 +116,7 @@ class ModuleBrowserTreeItem(TreeItem):
if sup.module != cl.module:
sname = "%s.%s" % (sup.module, sname)
supers.append(sname)
- s = s + "(%s)" % string.join(supers, ", ")
+ s = s + "(%s)" % ", ".join(supers)
items.append((cl.lineno, s))
self.classes[s] = cl
items.sort()