]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Cleanup a couple of comments left on PR 28775 post-merge. (GH-29079)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 20 Oct 2021 16:50:27 +0000 (09:50 -0700)
committerGitHub <noreply@github.com>
Wed, 20 Oct 2021 16:50:27 +0000 (09:50 -0700)
(cherry picked from commit 1dfac27dffbe771f9d88bd1726f7362ce0341437)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Lib/asyncio/unix_events.py
Lib/tkinter/test/test_ttk/test_widgets.py

index 9ab5dba272fd1cac6abbc365094eb8d6f6cbef22..eecbc101ee1b92b3d50333bd4fc0780efd8eab97 100644 (file)
@@ -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):
index 904aed0ac2df6ee8bde124ea1ff246ac144a2fdc..935be3d7f1b5aecadc1fe31d53f73b63895afe22 100644 (file)
@@ -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)