summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-10-20 09:50:27 -0700
committerGitHub <noreply@github.com>2021-10-20 09:50:27 -0700
commit50e8b2ff0273e81829ed3fa4ab9ef9898fd2b891 (patch)
treed573c899064e4a07d76efa5b0313bc7ee7f5c7b2
parent15cd7a7f9edcc121f273ae1d8007128282f8f85f (diff)
downloadcpython-git-50e8b2ff0273e81829ed3fa4ab9ef9898fd2b891.tar.gz
Cleanup a couple of comments left on PR 28775 post-merge. (GH-29079)
(cherry picked from commit 1dfac27dffbe771f9d88bd1726f7362ce0341437) Co-authored-by: Gregory P. Smith <greg@krypto.org>
-rw-r--r--Lib/asyncio/unix_events.py2
-rw-r--r--Lib/tkinter/test/test_ttk/test_widgets.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/asyncio/unix_events.py b/Lib/asyncio/unix_events.py
index 9ab5dba272..eecbc101ee 100644
--- a/Lib/asyncio/unix_events.py
+++ b/Lib/asyncio/unix_events.py
@@ -1383,7 +1383,7 @@ class ThreadedChildWatcher(AbstractChildWatcher):
def remove_child_handler(self, pid):
# asyncio never calls remove_child_handler() !!!
# The method is no-op but is implemented because
- # abstract base classes requires it
+ # abstract base classes require it.
return True
def attach_loop(self, loop):
diff --git a/Lib/tkinter/test/test_ttk/test_widgets.py b/Lib/tkinter/test/test_ttk/test_widgets.py
index 904aed0ac2..935be3d7f1 100644
--- a/Lib/tkinter/test/test_ttk/test_widgets.py
+++ b/Lib/tkinter/test/test_ttk/test_widgets.py
@@ -971,7 +971,7 @@ class NotebookTest(AbstractWidgetTest, unittest.TestCase):
tabs = self.nb.tabs()
curr = self.nb.index('current')
- # verify that the tab gets read at its previous position
+ # verify that the tab gets re-added at its previous position
child2_index = self.nb.index(self.child2)
self.nb.hide(self.child2)
self.nb.add(self.child2)