[Python-checkins] gh-95597: Fix typo in Lib directory files (#95599)

terryjreedy webhook-mailer at python.org
Wed Aug 3 17:16:28 EDT 2022


https://github.com/python/cpython/commit/b53aed76d26419fc7449c358c6035c9afe055e16
commit: b53aed76d26419fc7449c358c6035c9afe055e16
branch: main
author: Jo, Yunjin <black33jo at gmail.com>
committer: terryjreedy <tjreedy at udel.edu>
date: 2022-08-03T17:16:15-04:00
summary:

gh-95597: Fix typo in Lib directory files (#95599)

files:
M Lib/idlelib/config.py
M Lib/test/test_asyncio/test_unix_events.py

diff --git a/Lib/idlelib/config.py b/Lib/idlelib/config.py
index 5ce5f4a4f7bd..2b09d79470b4 100644
--- a/Lib/idlelib/config.py
+++ b/Lib/idlelib/config.py
@@ -578,7 +578,7 @@ def IsCoreBinding(self, virtualEvent):
         """
         return ('<<'+virtualEvent+'>>') in self.GetCoreKeys()
 
-# TODO make keyBindins a file or class attribute used for test above
+# TODO make keyBindings a file or class attribute used for test above
 # and copied in function below.
 
     former_extension_events = {  #  Those with user-configurable keys.
diff --git a/Lib/test/test_asyncio/test_unix_events.py b/Lib/test/test_asyncio/test_unix_events.py
index 9918165909f7..5bad21ecbae4 100644
--- a/Lib/test/test_asyncio/test_unix_events.py
+++ b/Lib/test/test_asyncio/test_unix_events.py
@@ -1531,7 +1531,7 @@ def test_sigchld_child_reaped_elsewhere(self, m_waitpid):
             self.watcher._sig_chld()
 
         if isinstance(self.watcher, asyncio.FastChildWatcher):
-            # here the FastChildWatche enters a deadlock
+            # here the FastChildWatcher enters a deadlock
             # (there is no way to prevent it)
             self.assertFalse(callback.called)
         else:



More information about the Python-checkins mailing list