diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2016-07-26 00:58:43 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2016-07-26 00:58:43 (GMT) |
commit | 17937832badd5cd97967ccc1fff3b4b45feeaba9 (patch) | |
tree | 5477999027cc252ef7381f435e2f023b6fcbf274 /Lib/idlelib/idle_test | |
parent | 8e1d3a2d41b6f064b60e69b3432ed3a2692bd19f (diff) | |
download | cpython-17937832badd5cd97967ccc1fff3b4b45feeaba9.zip cpython-17937832badd5cd97967ccc1fff3b4b45feeaba9.tar.gz cpython-17937832badd5cd97967ccc1fff3b4b45feeaba9.tar.bz2 |
Issue #27620: Escape key closes Query box as cancelled.
Diffstat (limited to 'Lib/idlelib/idle_test')
-rw-r--r-- | Lib/idlelib/idle_test/htest.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/idlelib/idle_test/htest.py b/Lib/idlelib/idle_test/htest.py index 4d98924..c59ed8c 100644 --- a/Lib/idlelib/idle_test/htest.py +++ b/Lib/idlelib/idle_test/htest.py @@ -175,8 +175,8 @@ HelpSource_spec = { "'' and file does not exist are invalid path items.\n" "Any url ('www...', 'http...') is accepted.\n" "Test Browse with and without path, as cannot unittest.\n" - "A valid entry will be printed to shell with [0k]\n" - "or <return>. [Cancel] will print None to shell" + "[Ok] or <Return> prints valid entry to shell\n" + "[Cancel] or <Escape> prints None to shell" } _io_binding_spec = { @@ -245,7 +245,7 @@ Query_spec = { '_htest': True}, 'msg': "Enter with <Return> or [Ok]. Print valid entry to Shell\n" "Blank line, after stripping, is ignored\n" - "Close dialog with valid entry, [Cancel] or [X]" + "Close dialog with valid entry, <Escape>, [Cancel], [X]" } |