mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
[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 745c9d9dfc)
Co-authored-by: Christian Clauss <cclauss@me.com>
This commit is contained in:
parent
03bf55d8cf
commit
cfca4a6774
62 changed files with 79 additions and 79 deletions
|
|
@ -2736,7 +2736,7 @@ def addtag_closest(self, newtag, x, y, halo=None, start=None):
|
|||
"""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 @@ def add_command(self, cnf={}, **kw):
|
|||
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 @@ def insert_command(self, index, cnf={}, **kw):
|
|||
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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue