Skip to content

Commit e570211

Browse files
authored
Fix idlelib comment typos reported by Mike on pull request 4803. (#4807)
1 parent e569753 commit e570211

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Lib/idlelib/autocomplete_w.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ def winconfig_event(self, event):
246246
acw.wm_geometry("+%d+%d" % (new_x, new_y))
247247

248248
if platform.system().startswith('Windows'):
249-
# See issue 15786. When on windows platform, Tk will misbehaive
249+
# See issue 15786. When on windows platform, Tk will misbehave
250250
# to call winconfig_event multiple times, we need to prevent this,
251251
# otherwise mouse button double click will not be able to used.
252252
acw.unbind(WINCONFIG_SEQUENCE, self.winconfigid)

Lib/idlelib/idle_test/test_query.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def test_file_replaces_path(self):
162162
# Path is widget entry, either '' or something.
163163
# Func return is file dialog return, either '' or something.
164164
# Func return should override widget entry.
165-
# We need all 4 combination to test all (most) code paths.
165+
# We need all 4 combinations to test all (most) code paths.
166166
for path, func, result in (
167167
('', lambda a,b,c:'', ''),
168168
('', lambda a,b,c: __file__, __file__),

Lib/idlelib/idle_test/test_search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""Test SearchDialog class in idlelib.search.py"""
22

33
# Does not currently test the event handler wrappers.
4-
# A usage test should simulate clicks and check hilighting.
4+
# A usage test should simulate clicks and check highlighting.
55
# Tests need to be coordinated with SearchDialogBase tests
66
# to avoid duplication.
77

0 commit comments

Comments
 (0)