summaryrefslogtreecommitdiff
path: root/Lib/idlelib/autocomplete_w.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2018-06-20 22:49:55 -0400
committerGitHub <noreply@github.com>2018-06-20 22:49:55 -0400
commit33c7420e7dd9d8e5b2aa15e98da6291bab6fcf33 (patch)
tree032fbff7d96359683fb006d5e0b68a0c2ab139f7 /Lib/idlelib/autocomplete_w.py
parenta361e89d5ae3daefe9e8b8a7e889cd2ad8c45b77 (diff)
downloadcpython-git-33c7420e7dd9d8e5b2aa15e98da6291bab6fcf33.tar.gz
bpo-33924: Change IDLE mainmenu.menudefs key 'windows' to 'window' (GH-7836)
Every other menudef key is the lowercase version of the corresponding main menu entry (in this case, 'Window').
Diffstat (limited to 'Lib/idlelib/autocomplete_w.py')
-rw-r--r--Lib/idlelib/autocomplete_w.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/autocomplete_w.py b/Lib/idlelib/autocomplete_w.py
index 66211d4554..9e0d336523 100644
--- a/Lib/idlelib/autocomplete_w.py
+++ b/Lib/idlelib/autocomplete_w.py
@@ -246,7 +246,7 @@ class AutoCompleteWindow:
acw.wm_geometry("+%d+%d" % (new_x, new_y))
if platform.system().startswith('Windows'):
- # See issue 15786. When on windows platform, Tk will misbehave
+ # See issue 15786. When on Windows platform, Tk will misbehave
# to call winconfig_event multiple times, we need to prevent this,
# otherwise mouse button double click will not be able to used.
acw.unbind(WINCONFIG_SEQUENCE, self.winconfigid)
@@ -269,7 +269,7 @@ class AutoCompleteWindow:
# mouse click on widget / text area.
if self.is_active():
if event.type == EventType.FocusOut:
- # On windows platform, it will need to delay the check for
+ # On Windows platform, it will need to delay the check for
# acw.focus_get() when click on acw, otherwise it will return
# None and close the window
self.widget.after(1, self._hide_event_check)