summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2017-12-12 03:59:08 (GMT)
committerGitHub <noreply@github.com>2017-12-12 03:59:08 (GMT)
commite570211406f9bfbe16eff8d10e614d90497e08df (patch)
tree125352d976b2f4fc56ef8fec673153c32a297142 /Lib/idlelib
parente56975351bc2c574c728f738e88effba7116279f (diff)
downloadcpython-e570211406f9bfbe16eff8d10e614d90497e08df.zip
cpython-e570211406f9bfbe16eff8d10e614d90497e08df.tar.gz
cpython-e570211406f9bfbe16eff8d10e614d90497e08df.tar.bz2
Fix idlelib comment typos reported by Mike on pull request 4803. (#4807)
Diffstat (limited to 'Lib/idlelib')
-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 7c3138f..12113f9 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 1210afe..953f24f 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 80fa93a..3ab7295 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.