diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-06-21 04:35:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-21 04:35:47 (GMT) |
commit | e1f0dceb266ae66a3b8ea9d087266f3960c59b2d (patch) | |
tree | 7025f38c82753bd2dacc7b104b5d555ab4969e00 /Lib/idlelib/autocomplete_w.py | |
parent | f9243a22da6a609143e27abf3ca37a4f63d5aae9 (diff) | |
download | cpython-e1f0dceb266ae66a3b8ea9d087266f3960c59b2d.zip cpython-e1f0dceb266ae66a3b8ea9d087266f3960c59b2d.tar.gz cpython-e1f0dceb266ae66a3b8ea9d087266f3960c59b2d.tar.bz2 |
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').
(cherry picked from commit 33c7420e7dd9d8e5b2aa15e98da6291bab6fcf33)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/idlelib/autocomplete_w.py')
-rw-r--r-- | Lib/idlelib/autocomplete_w.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/autocomplete_w.py b/Lib/idlelib/autocomplete_w.py index 66211d4..9e0d336 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) |