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
|
|
@ -1472,7 +1472,7 @@ def check_weak_del_and_len_while_iterating(self, dict, testcontext):
|
|||
o = Object(123456)
|
||||
with testcontext():
|
||||
n = len(dict)
|
||||
# Since underlaying dict is ordered, first item is popped
|
||||
# Since underlying dict is ordered, first item is popped
|
||||
dict.pop(next(dict.keys()))
|
||||
self.assertEqual(len(dict), n - 1)
|
||||
dict[o] = o
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue