s/the the/the/ (GH-6287)

diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index dcfe086..2eab003 100644
--- a/Doc/glossary.rst
+++ b/Doc/glossary.rst
@@ -463,7 +463,7 @@
 
 
    hash-based pyc
-      A bytecode cache file that uses the the hash rather than the last-modified
+      A bytecode cache file that uses the hash rather than the last-modified
       time of the corresponding source file to determine its validity. See
       :ref:`pyc-invalidation`.
 
diff --git a/Misc/HISTORY b/Misc/HISTORY
index 26c7f20..d4a1b16 100644
--- a/Misc/HISTORY
+++ b/Misc/HISTORY
@@ -1389,7 +1389,7 @@
 Core and Builtins
 -----------------
 
-- Issue #22258: Fix the the internal function set_inheritable() on Illumos.
+- Issue #22258: Fix the internal function set_inheritable() on Illumos.
   This platform exposes the function ``ioctl(FIOCLEX)``, but calling it fails
   with errno is ENOTTY: "Inappropriate ioctl for device". set_inheritable()
   now falls back to the slower ``fcntl()`` (``F_GETFD`` and then ``F_SETFD``).