summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/keybindingDialog.py
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2007-08-23 05:25:55 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2007-08-23 05:25:55 (GMT)
commite07127793958bc355dd34b79c08397c698c298d7 (patch)
tree72c12623b301055c9b2c0593c19fd326933c11d4 /Lib/idlelib/keybindingDialog.py
parent460add45008adff34b3b6a75805b8acf87a6192b (diff)
downloadcpython-e07127793958bc355dd34b79c08397c698c298d7.zip
cpython-e07127793958bc355dd34b79c08397c698c298d7.tar.gz
cpython-e07127793958bc355dd34b79c08397c698c298d7.tar.bz2
Conform to py3k dict.{keys, items, values} with some advice from 2b3
M idlelib/configHandler.py M idlelib/ColorDelegator.py M idlelib/Delegator.py M idlelib/ObjectBrowser.py M idlelib/PyShell.py M idlelib/Debugger.py M idlelib/configDialog.py M idlelib/StackViewer.py M idlelib/keybindingDialog.py M idlelib/tabpage.py M idlelib/EditorWindow.py M idlelib/WindowList.py M idlelib/RemoteDebugger.py M idlelib/dynOptionMenuWidget.py
Diffstat (limited to 'Lib/idlelib/keybindingDialog.py')
-rw-r--r--Lib/idlelib/keybindingDialog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/keybindingDialog.py b/Lib/idlelib/keybindingDialog.py
index 16db557..7f4cc91 100644
--- a/Lib/idlelib/keybindingDialog.py
+++ b/Lib/idlelib/keybindingDialog.py
@@ -203,7 +203,7 @@ class GetKeysDialog(Toplevel):
'/':'slash','?':'question','Page Up':'Prior','Page Down':'Next',
'Left Arrow':'Left','Right Arrow':'Right','Up Arrow':'Up',
'Down Arrow': 'Down', 'Tab':'Tab'}
- if key in translateDict.keys():
+ if key in translateDict:
key = translateDict[key]
if 'Shift' in modifiers and key in string.ascii_lowercase:
key = key.upper()