summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-10-04 19:48:34 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-10-04 19:48:34 (GMT)
commit4ca222d4d5469bd0c9d188b9d007597798919260 (patch)
tree8d81e3a210fb01b3b7f80e5b04a576c60d5edf54
parentfc990e942fb55be78e8352f4913749e91cac381d (diff)
downloadcpython-4ca222d4d5469bd0c9d188b9d007597798919260.zip
cpython-4ca222d4d5469bd0c9d188b9d007597798919260.tar.gz
cpython-4ca222d4d5469bd0c9d188b9d007597798919260.tar.bz2
Issue #14997: disable <F5> in idle shell window.
Thanks to Roger Serwy for patch.
-rw-r--r--Lib/idlelib/config-extensions.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/idlelib/config-extensions.def b/Lib/idlelib/config-extensions.def
index 78b68f6..39e69ce 100644
--- a/Lib/idlelib/config-extensions.def
+++ b/Lib/idlelib/config-extensions.def
@@ -46,6 +46,8 @@ zoom-height=<Alt-Key-2>
[ScriptBinding]
enable=1
+enable_shell=0
+enable_editor=1
[ScriptBinding_cfgBindings]
run-module=<Key-F5>
check-module=<Alt-Key-x>