[Python-checkins] Cleanup a couple of comments left on PR 28775 post-merge. (GH-29079)
miss-islington
webhook-mailer at python.org
Wed Oct 20 12:42:43 EDT 2021
https://github.com/python/cpython/commit/d6afe3be0106818454e1aac07bebe6d5e75bb38d
commit: d6afe3be0106818454e1aac07bebe6d5e75bb38d
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2021-10-20T09:42:39-07:00
summary:
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 at krypto.org>
files:
M Lib/asyncio/unix_events.py
M Lib/tkinter/test/test_ttk/test_widgets.py
diff --git a/Lib/asyncio/unix_events.py b/Lib/asyncio/unix_events.py
index 4cef914b9fb9e..c88b818de62a6 100644
--- a/Lib/asyncio/unix_events.py
+++ b/Lib/asyncio/unix_events.py
@@ -1379,7 +1379,7 @@ def add_child_handler(self, pid, callback, *args):
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 904aed0ac2df6..935be3d7f1b5a 100644
--- a/Lib/tkinter/test/test_ttk/test_widgets.py
+++ b/Lib/tkinter/test/test_ttk/test_widgets.py
@@ -971,7 +971,7 @@ def test_add_and_hidden(self):
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)
More information about the Python-checkins
mailing list