aboutsummaryrefslogtreecommitdiff
path: root/Lib
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2017-12-11 20:29:34 -0800
committerTerry Jan Reedy <tjreedy@udel.edu>2017-12-11 23:29:34 -0500
commit82adaf5ffe425f3d3360e972df03ff15584b4035 (patch)
tree1fa4a510635a8c00d22256522d56b40e3f8e0eaa /Lib
parentbpo-22671: Clarify and test default read method implementations (GH-4568) (#4... (diff)
downloadcpython-82adaf5ffe425f3d3360e972df03ff15584b4035.tar.gz
cpython-82adaf5ffe425f3d3360e972df03ff15584b4035.tar.bz2
cpython-82adaf5ffe425f3d3360e972df03ff15584b4035.zip
Fix idlelib comment typos reported by Mike on pull request 4803. (GH-4807) (#4809)
(cherry picked from commit e570211406f9bfbe16eff8d10e614d90497e08df)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/idlelib/autocomplete_w.py2
-rw-r--r--Lib/idlelib/idle_test/test_query.py2
-rw-r--r--Lib/idlelib/idle_test/test_search.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/Lib/idlelib/autocomplete_w.py b/Lib/idlelib/autocomplete_w.py
index 7c3138f4040..12113f95e63 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 1210afe70df..953f24f0a5a 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 80fa93adf51..3ab72951efe 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.