From: Georg Brandl Date: Thu, 6 Jan 2011 19:28:18 +0000 (+0000) Subject: #10846: fix typo. X-Git-Tag: v3.2rc1~143 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a572476a2ae9c5d20812d076d6f4172fc160bb61;p=python #10846: fix typo. --- diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst index 74c99762d4..3b1b1bfe22 100644 --- a/Doc/library/threading.rst +++ b/Doc/library/threading.rst @@ -719,9 +719,9 @@ waiting until some other thread calls :meth:`release`. ^^^^^^^^^^^^^^^^^^^^^^^^^^ 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 ...