Commit e5702114 authored by Terry Jan Reedy's avatar Terry Jan Reedy Committed by GitHub

Fix idlelib comment typos reported by Mike on pull request 4803. (#4807)

parent e5697535
...@@ -246,7 +246,7 @@ class AutoCompleteWindow: ...@@ -246,7 +246,7 @@ class AutoCompleteWindow:
acw.wm_geometry("+%d+%d" % (new_x, new_y)) acw.wm_geometry("+%d+%d" % (new_x, new_y))
if platform.system().startswith('Windows'): 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, # to call winconfig_event multiple times, we need to prevent this,
# otherwise mouse button double click will not be able to used. # otherwise mouse button double click will not be able to used.
acw.unbind(WINCONFIG_SEQUENCE, self.winconfigid) acw.unbind(WINCONFIG_SEQUENCE, self.winconfigid)
......
...@@ -162,7 +162,7 @@ class HelpsourceBrowsefileTest(unittest.TestCase): ...@@ -162,7 +162,7 @@ class HelpsourceBrowsefileTest(unittest.TestCase):
# Path is widget entry, either '' or something. # Path is widget entry, either '' or something.
# Func return is file dialog return, either '' or something. # Func return is file dialog return, either '' or something.
# Func return should override widget entry. # 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 ( for path, func, result in (
('', lambda a,b,c:'', ''), ('', lambda a,b,c:'', ''),
('', lambda a,b,c: __file__, __file__), ('', lambda a,b,c: __file__, __file__),
......
"""Test SearchDialog class in idlelib.search.py""" """Test SearchDialog class in idlelib.search.py"""
# Does not currently test the event handler wrappers. # 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 # Tests need to be coordinated with SearchDialogBase tests
# to avoid duplication. # to avoid duplication.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment