From: Terry Jan Reedy Date: Tue, 12 Dec 2017 03:59:08 +0000 (-0500) Subject: Fix idlelib comment typos reported by Mike on pull request 4803. (#4807) X-Git-Tag: v3.7.0a4~169 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e570211406f9bfbe16eff8d10e614d90497e08df;p=python Fix idlelib comment typos reported by Mike on pull request 4803. (#4807) --- diff --git a/Lib/idlelib/autocomplete_w.py b/Lib/idlelib/autocomplete_w.py index 7c3138f404..12113f95e6 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 misbehaive + # 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) diff --git a/Lib/idlelib/idle_test/test_query.py b/Lib/idlelib/idle_test/test_query.py index 1210afe70d..953f24f0a5 100644 --- a/Lib/idlelib/idle_test/test_query.py +++ b/Lib/idlelib/idle_test/test_query.py @@ -162,7 +162,7 @@ class HelpsourceBrowsefileTest(unittest.TestCase): # Path is widget entry, either '' or something. # Func return is file dialog return, either '' or something. # Func return should override widget entry. - # We need all 4 combination to test all (most) code paths. + # We need all 4 combinations to test all (most) code paths. for path, func, result in ( ('', lambda a,b,c:'', ''), ('', lambda a,b,c: __file__, __file__), diff --git a/Lib/idlelib/idle_test/test_search.py b/Lib/idlelib/idle_test/test_search.py index 80fa93adf5..3ab72951ef 100644 --- a/Lib/idlelib/idle_test/test_search.py +++ b/Lib/idlelib/idle_test/test_search.py @@ -1,7 +1,7 @@ """Test SearchDialog class in idlelib.search.py""" # Does not currently test the event handler wrappers. -# A usage test should simulate clicks and check hilighting. +# A usage test should simulate clicks and check highlighting. # Tests need to be coordinated with SearchDialogBase tests # to avoid duplication.