diff Lib/idlelib/keybindingDialog.py @ 41480:99027c2b3fd2

Remove functions in string module that are also string methods. Also remove: * all calls to functions in the string module (except maketrans) * everything from stropmodule except for maketrans() which is still used
author Neal Norwitz <nnorwitz@gmail.com>
date Tue, 17 Apr 2007 08:48:32 +0000
parents 4cdf21a0dbbc
children fa9a40ef0780
line wrap: on
line diff
--- a/Lib/idlelib/keybindingDialog.py	Tue Apr 17 08:42:15 2007 +0000
+++ b/Lib/idlelib/keybindingDialog.py	Tue Apr 17 08:48:32 2007 +0000
@@ -163,7 +163,7 @@
         if finalKey:
             finalKey = self.TranslateKey(finalKey, modifiers)
             keyList.append(finalKey)
-        self.keyString.set('<' + string.join(keyList,'-') + '>')
+        self.keyString.set('<' + '-'.join(keyList) + '>')
 
     def GetModifiers(self):
         modList = [variable.get() for variable in self.modifier_vars]