[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/platform.py b/Lib/platform.py
index 134fbae..e32f9c1 100755
--- a/Lib/platform.py
+++ b/Lib/platform.py
@@ -1262,7 +1262,7 @@ def platform(aliased=0, terse=0):
 
 def _parse_os_release(lines):
     # These fields are mandatory fields with well-known defaults
-    # in pratice all Linux distributions override NAME, ID, and PRETTY_NAME.
+    # in practice all Linux distributions override NAME, ID, and PRETTY_NAME.
     info = {
         "NAME": "Linux",
         "ID": "linux",