summaryrefslogtreecommitdiffstats
path: root/Lib/tkinter/__init__.py
diff options
context:
space:
mode:
authorChristian Clauss <cclauss@me.com>2021-10-07 15:49:47 (GMT)
committerGitHub <noreply@github.com>2021-10-07 15:49:47 (GMT)
commitcfca4a67745cb9ed040fade3fd54f5002a6e75a6 (patch)
treedb352adfb835d8b392b2257e12a9b481b1a8bf12 /Lib/tkinter/__init__.py
parent03bf55d8cf563ccdee2ec61c5c734c59b5d94ba4 (diff)
downloadcpython-cfca4a67745cb9ed040fade3fd54f5002a6e75a6.zip
cpython-cfca4a67745cb9ed040fade3fd54f5002a6e75a6.tar.gz
cpython-cfca4a67745cb9ed040fade3fd54f5002a6e75a6.tar.bz2
[3.10] Fix typos in the Lib directory (GH-28775) (GH-28804)
Fix typos in the Lib directory as identified by codespell. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>. (cherry picked from commit 745c9d9dfc1ad6fdfdf1d07420c6273ff67fa5be) Co-authored-by: Christian Clauss <cclauss@me.com>
Diffstat (limited to 'Lib/tkinter/__init__.py')
-rw-r--r--Lib/tkinter/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/tkinter/__init__.py b/Lib/tkinter/__init__.py
index 552fc54..fa88448 100644
--- a/Lib/tkinter/__init__.py
+++ b/Lib/tkinter/__init__.py
@@ -2736,7 +2736,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):
@@ -3331,7 +3331,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):
@@ -3356,7 +3356,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):