[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>
diff --git a/Lib/test/test_exceptions.py b/Lib/test/test_exceptions.py
index 143b856..d04e5f5 100644
--- a/Lib/test/test_exceptions.py
+++ b/Lib/test/test_exceptions.py
@@ -2281,7 +2281,7 @@ def test_range_of_offsets(self):
abcdefg
SyntaxError: bad bad
""")),
- # End offset pass the source lenght
+ # End offset pass the source length
(("bad.py", 1, 2, "abcdefg", 1, 100),
dedent(
"""