[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_sys.py b/Lib/test/test_sys.py
index 8717def..35da72c 100644
--- a/Lib/test/test_sys.py
+++ b/Lib/test/test_sys.py
@@ -379,7 +379,7 @@ def g456():
self.assertTrue(frame is sys._getframe())
# Verify that the captured thread frame is blocked in g456, called
- # from f123. This is a litte tricky, since various bits of
+ # from f123. This is a little tricky, since various bits of
# threading.py are also in the thread's call stack.
frame = d.pop(thread_id)
stack = traceback.extract_stack(frame)
@@ -446,7 +446,7 @@ def g456():
self.assertEqual((None, None, None), d.pop(main_id))
# Verify that the captured thread frame is blocked in g456, called
- # from f123. This is a litte tricky, since various bits of
+ # from f123. This is a little tricky, since various bits of
# threading.py are also in the thread's call stack.
exc_type, exc_value, exc_tb = d.pop(thread_id)
stack = traceback.extract_stack(exc_tb.tb_frame)