summaryrefslogtreecommitdiff
path: root/Lib/idlelib/configHandler.py
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-03-29 19:54:58 +0300
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-03-29 19:54:58 +0300
commitc37db10e03d863ee143d22244c0a405c8a004280 (patch)
treee4765381647ddfc82d9bfb6407f6c47db69c2c81 /Lib/idlelib/configHandler.py
parentde294ec02e7017c462eab5244748b83d63f79ae4 (diff)
downloadcpython-git-c37db10e03d863ee143d22244c0a405c8a004280.tar.gz
Backport of Issue #14409 to 2.7
IDLE doesn't not execute commands from shell with default keybinding for <Return>. Patch by Roger Serwy.
Diffstat (limited to 'Lib/idlelib/configHandler.py')
-rw-r--r--Lib/idlelib/configHandler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/configHandler.py b/Lib/idlelib/configHandler.py
index 73487d56f3..dd13a0e733 100644
--- a/Lib/idlelib/configHandler.py
+++ b/Lib/idlelib/configHandler.py
@@ -595,7 +595,7 @@ class IdleConf:
'<<replace>>': ['<Control-h>'],
'<<goto-line>>': ['<Alt-g>'],
'<<smart-backspace>>': ['<Key-BackSpace>'],
- '<<newline-and-indent>>': ['<Key-Return> <Key-KP_Enter>'],
+ '<<newline-and-indent>>': ['<Key-Return>', '<Key-KP_Enter>'],
'<<smart-indent>>': ['<Key-Tab>'],
'<<indent-region>>': ['<Control-Key-bracketright>'],
'<<dedent-region>>': ['<Control-Key-bracketleft>'],