#10846: fix typo.
diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst
index 74c9976..3b1b1bf 100644
--- a/Doc/library/threading.rst
+++ b/Doc/library/threading.rst
@@ -719,9 +719,9 @@
^^^^^^^^^^^^^^^^^^^^^^^^^^
Semaphores are often used to guard resources with limited capacity, for example,
-a database server. In any situation where the size of the resource size is
-fixed, you should use a bounded semaphore. Before spawning any worker threads,
-your main thread would initialize the semaphore::
+a database server. In any situation where the size of the resource is fixed,
+you should use a bounded semaphore. Before spawning any worker threads, your
+main thread would initialize the semaphore::
maxconnections = 5
...