diff options
author | Christian Clauss <cclauss@me.com> | 2021-10-06 23:13:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-06 23:13:48 (GMT) |
commit | 745c9d9dfc1ad6fdfdf1d07420c6273ff67fa5be (patch) | |
tree | cf25c5b8d353f69be8ba9b70963eabae044e4c76 /Lib/tkinter | |
parent | db693df3e112c5a61f2cbef63eedce3a36520ded (diff) | |
download | cpython-745c9d9dfc1ad6fdfdf1d07420c6273ff67fa5be.zip cpython-745c9d9dfc1ad6fdfdf1d07420c6273ff67fa5be.tar.gz cpython-745c9d9dfc1ad6fdfdf1d07420c6273ff67fa5be.tar.bz2 |
Fix typos in the Lib directory (GH-28775)
Fix typos in the Lib directory as identified by codespell.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/tkinter')
-rw-r--r-- | Lib/tkinter/__init__.py | 6 | ||||
-rw-r--r-- | Lib/tkinter/test/test_ttk/test_widgets.py | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Lib/tkinter/__init__.py b/Lib/tkinter/__init__.py index 2513c97..2e7e21c 100644 --- a/Lib/tkinter/__init__.py +++ b/Lib/tkinter/__init__.py @@ -2735,7 +2735,7 @@ class Canvas(Widget, XView, YView): """Add tag NEWTAG to item which is closest to pixel at X, Y. If several match take the top-most. All items closer than HALO are considered overlapping (all are - closests). If START is specified the next below this tag is taken.""" + closest). If START is specified the next below this tag is taken.""" self.addtag(newtag, 'closest', x, y, halo, start) def addtag_enclosed(self, newtag, x1, y1, x2, y2): @@ -3330,7 +3330,7 @@ class Menu(Widget): self.add('command', cnf or kw) def add_radiobutton(self, cnf={}, **kw): - """Addd radio menu item.""" + """Add radio menu item.""" self.add('radiobutton', cnf or kw) def add_separator(self, cnf={}, **kw): @@ -3355,7 +3355,7 @@ class Menu(Widget): self.insert(index, 'command', cnf or kw) def insert_radiobutton(self, index, cnf={}, **kw): - """Addd radio menu item at INDEX.""" + """Add radio menu item at INDEX.""" self.insert(index, 'radiobutton', cnf or kw) def insert_separator(self, index, cnf={}, **kw): diff --git a/Lib/tkinter/test/test_ttk/test_widgets.py b/Lib/tkinter/test/test_ttk/test_widgets.py index ee5af82..082da5d 100644 --- a/Lib/tkinter/test/test_ttk/test_widgets.py +++ b/Lib/tkinter/test/test_ttk/test_widgets.py @@ -968,7 +968,7 @@ class NotebookTest(AbstractWidgetTest, unittest.TestCase): tabs = self.nb.tabs() curr = self.nb.index('current') - # verify that the tab gets readded at its previous position + # verify that the tab gets read at its previous position child2_index = self.nb.index(self.child2) self.nb.hide(self.child2) self.nb.add(self.child2) |