Skip to content

Commit

Permalink
Fix idlelib comment typos reported by Mike on pull request 4803. (GH-…
Browse files Browse the repository at this point in the history
…4807) (#4809)

(cherry picked from commit e570211)
  • Loading branch information
miss-islington authored and terryjreedy committed Dec 12, 2017
1 parent 0aa2a1d commit 82adaf5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Lib/idlelib/autocomplete_w.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def winconfig_event(self, event):
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)
Expand Down
2 changes: 1 addition & 1 deletion Lib/idlelib/idle_test/test_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def test_file_replaces_path(self):
# 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__),
Expand Down
2 changes: 1 addition & 1 deletion Lib/idlelib/idle_test/test_search.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down

0 comments on commit 82adaf5

Please sign in to comment.