]> granicus.if.org Git - python/commitdiff
Fix idlelib comment typos reported by Mike on pull request 4803. (GH-4807) (#4809)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 12 Dec 2017 04:29:34 +0000 (20:29 -0800)
committerTerry Jan Reedy <tjreedy@udel.edu>
Tue, 12 Dec 2017 04:29:34 +0000 (23:29 -0500)
(cherry picked from commit e570211406f9bfbe16eff8d10e614d90497e08df)

Lib/idlelib/autocomplete_w.py
Lib/idlelib/idle_test/test_query.py
Lib/idlelib/idle_test/test_search.py

index 7c3138f4040a307d4cb59f01b6938a31365600ac..12113f95e63aa68f9b58222a4e1089f2cab4c7f9 100644 (file)
@@ -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)
index 1210afe70df956c38ccf9f6105d993f2da818082..953f24f0a5ac82b335fdf19ee3dfa4a5fffaa083 100644 (file)
@@ -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__),
index 80fa93adf51f4abf487a9e3ab49d0c677779b3d1..3ab72951efe3fa787ba31212d8477e9dc663ce25 100644 (file)
@@ -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.