summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorBinbin <binloveplay1314@qq.com>2021-06-13 02:47:44 (GMT)
committerGitHub <noreply@github.com>2021-06-13 02:47:44 (GMT)
commit17b16e13bb444001534ed6fccb459084596c8bcf (patch)
tree569101fcca308843dd1ff731dbd74682d7700f6f /Lib/idlelib
parent736ed6f7a9f465ba728198e8bca81e5fbe71bc37 (diff)
downloadcpython-17b16e13bb444001534ed6fccb459084596c8bcf.zip
cpython-17b16e13bb444001534ed6fccb459084596c8bcf.tar.gz
cpython-17b16e13bb444001534ed6fccb459084596c8bcf.tar.bz2
Fix typos in multiple files (GH-26689)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/config.py2
-rw-r--r--Lib/idlelib/history.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/config.py b/Lib/idlelib/config.py
index 04444a3..5ce5f4a 100644
--- a/Lib/idlelib/config.py
+++ b/Lib/idlelib/config.py
@@ -16,7 +16,7 @@ to values. For 'main' and 'extensions', user values override
default values. For 'highlight' and 'keys', user sections augment the
default sections (and must, therefore, have distinct names).
-Throughout this module there is an emphasis on returning useable defaults
+Throughout this module there is an emphasis on returning usable defaults
when a problem occurs in returning a requested configuration value back to
idle. This is to allow IDLE to continue to function in spite of errors in
the retrieval of config information. When a default is returned instead of
diff --git a/Lib/idlelib/history.py b/Lib/idlelib/history.py
index 7ce0925..100f505 100644
--- a/Lib/idlelib/history.py
+++ b/Lib/idlelib/history.py
@@ -29,7 +29,7 @@ class History:
text.bind("<<history-next>>", self.history_next)
def history_next(self, event):
- "Fetch later statement; start with ealiest if cyclic."
+ "Fetch later statement; start with earliest if cyclic."
self.fetch(reverse=False)
return "break"