Issue #5341: Fix a variety of spelling errors.
diff --git a/Lib/idlelib/AutoComplete.py b/Lib/idlelib/AutoComplete.py
index 1c74d2e..d55b799 100644
--- a/Lib/idlelib/AutoComplete.py
+++ b/Lib/idlelib/AutoComplete.py
@@ -67,7 +67,7 @@
def try_open_completions_event(self, event):
"""Happens when it would be nice to open a completion list, but not
- really neccesary, for example after an dot, so function
+ really necessary, for example after an dot, so function
calls won't be made.
"""
lastchar = self.text.get("insert-1c")
@@ -79,7 +79,7 @@
COMPLETE_FILES)
def autocomplete_event(self, event):
- """Happens when the user wants to complete his word, and if neccesary,
+ """Happens when the user wants to complete his word, and if necessary,
open a completion list after that (if there is more than one
completion)
"""
diff --git a/Lib/idlelib/CallTips.py b/Lib/idlelib/CallTips.py
index 7bcc1e2..bd51b7f 100644
--- a/Lib/idlelib/CallTips.py
+++ b/Lib/idlelib/CallTips.py
@@ -51,7 +51,7 @@
def try_open_calltip_event(self, event):
"""Happens when it would be nice to open a CallTip, but not really
- neccesary, for example after an opening bracket, so function calls
+ necessary, for example after an opening bracket, so function calls
won't be made.
"""
self.open_calltip(False)
diff --git a/Lib/idlelib/NEWS.txt b/Lib/idlelib/NEWS.txt
index 27db970..965a8c1 100644
--- a/Lib/idlelib/NEWS.txt
+++ b/Lib/idlelib/NEWS.txt
@@ -300,7 +300,7 @@
window raising, especially in the Windows menu and in the debugger.
IDLEfork 763524.
-- If user passes a non-existant filename on the commandline, just
+- If user passes a non-existent filename on the commandline, just
open a new file, don't raise a dialog. IDLEfork 854928.