summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorChristian Clauss <cclauss@me.com>2021-10-07 15:49:47 (GMT)
committerGitHub <noreply@github.com>2021-10-07 15:49:47 (GMT)
commitcfca4a67745cb9ed040fade3fd54f5002a6e75a6 (patch)
treedb352adfb835d8b392b2257e12a9b481b1a8bf12 /Lib/idlelib
parent03bf55d8cf563ccdee2ec61c5c734c59b5d94ba4 (diff)
downloadcpython-cfca4a67745cb9ed040fade3fd54f5002a6e75a6.zip
cpython-cfca4a67745cb9ed040fade3fd54f5002a6e75a6.tar.gz
cpython-cfca4a67745cb9ed040fade3fd54f5002a6e75a6.tar.bz2
[3.10] Fix typos in the Lib directory (GH-28775) (GH-28804)
Fix typos in the Lib directory as identified by codespell. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>. (cherry picked from commit 745c9d9dfc1ad6fdfdf1d07420c6273ff67fa5be) Co-authored-by: Christian Clauss <cclauss@me.com>
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/ChangeLog2
-rw-r--r--Lib/idlelib/idle_test/htest.py6
-rw-r--r--Lib/idlelib/idle_test/mock_tk.py2
-rw-r--r--Lib/idlelib/idle_test/test_multicall.py2
-rw-r--r--Lib/idlelib/idle_test/test_pyparse.py2
5 files changed, 7 insertions, 7 deletions
diff --git a/Lib/idlelib/ChangeLog b/Lib/idlelib/ChangeLog
index d7d7e1e..c8960cf 100644
--- a/Lib/idlelib/ChangeLog
+++ b/Lib/idlelib/ChangeLog
@@ -1175,7 +1175,7 @@ Wed Mar 10 05:18:02 1999 Guido van Rossum <guido@cnri.reston.va.us>
classes in selected module
methods of selected class
- Sinlge clicking in a directory, module or class item updates the next
+ Single clicking in a directory, module or class item updates the next
column with info about the selected item. Double clicking in a
module, class or method item opens the file (and selects the clicked
item if it is a class or method).
diff --git a/Lib/idlelib/idle_test/htest.py b/Lib/idlelib/idle_test/htest.py
index 1373b76..666ff4c 100644
--- a/Lib/idlelib/idle_test/htest.py
+++ b/Lib/idlelib/idle_test/htest.py
@@ -246,7 +246,7 @@ _multistatus_bar_spec = {
_object_browser_spec = {
'file': 'debugobj',
'kwds': {},
- 'msg': "Double click on items upto the lowest level.\n"
+ 'msg': "Double click on items up to the lowest level.\n"
"Attributes of the objects and related information "
"will be displayed side-by-side at each level."
}
@@ -255,7 +255,7 @@ _path_browser_spec = {
'file': 'pathbrowser',
'kwds': {},
'msg': "Test for correct display of all paths in sys.path.\n"
- "Toggle nested items upto the lowest level.\n"
+ "Toggle nested items up to the lowest level.\n"
"Double clicking on an item prints a traceback\n"
"for an exception that is ignored."
}
@@ -341,7 +341,7 @@ _tree_widget_spec = {
'file': 'tree',
'kwds': {},
'msg': "The canvas is scrollable.\n"
- "Click on folders upto to the lowest level."
+ "Click on folders up to to the lowest level."
}
_undo_delegator_spec = {
diff --git a/Lib/idlelib/idle_test/mock_tk.py b/Lib/idlelib/idle_test/mock_tk.py
index db58355..8304734 100644
--- a/Lib/idlelib/idle_test/mock_tk.py
+++ b/Lib/idlelib/idle_test/mock_tk.py
@@ -79,7 +79,7 @@ class Test(unittest.TestCase):
---
For 'ask' functions, set func.result return value before calling the method
that uses the message function. When messagebox functions are the
- only gui alls in a method, this replacement makes the method gui-free,
+ only GUI calls in a method, this replacement makes the method GUI-free,
"""
askokcancel = Mbox_func() # True or False
askquestion = Mbox_func() # 'yes' or 'no'
diff --git a/Lib/idlelib/idle_test/test_multicall.py b/Lib/idlelib/idle_test/test_multicall.py
index ba582bb..b3a3bfb 100644
--- a/Lib/idlelib/idle_test/test_multicall.py
+++ b/Lib/idlelib/idle_test/test_multicall.py
@@ -37,7 +37,7 @@ class MultiCallTest(unittest.TestCase):
def test_yview(self):
# Added for tree.wheel_event
- # (it depends on yview to not be overriden)
+ # (it depends on yview to not be overridden)
mc = self.mc
self.assertIs(mc.yview, Text.yview)
mctext = self.mc(self.root)
diff --git a/Lib/idlelib/idle_test/test_pyparse.py b/Lib/idlelib/idle_test/test_pyparse.py
index fb5726d..384db56 100644
--- a/Lib/idlelib/idle_test/test_pyparse.py
+++ b/Lib/idlelib/idle_test/test_pyparse.py
@@ -284,7 +284,7 @@ class PyParseTest(unittest.TestCase):
tests = (
TestInfo('[x for x in a]\n', 1), # Closed on one line.
TestInfo('[x\nfor x in a\n', 2), # Not closed.
- TestInfo('[x\\\nfor x in a\\\n', 2), # "", uneeded backslashes.
+ TestInfo('[x\\\nfor x in a\\\n', 2), # "", unneeded backslashes.
TestInfo('[x\nfor x in a\n]\n', 3), # Closed on multi-line.
TestInfo('\n"""Docstring comment L1"""\nL2\nL3\nL4\n', 1),
TestInfo('\n"""Docstring comment L1\nL2"""\nL3\nL4\n', 1),