]> granicus.if.org Git - python/commitdiff
#10846: fix typo.
authorGeorg Brandl <georg@python.org>
Thu, 6 Jan 2011 19:28:18 +0000 (19:28 +0000)
committerGeorg Brandl <georg@python.org>
Thu, 6 Jan 2011 19:28:18 +0000 (19:28 +0000)
Doc/library/threading.rst

index 74c99762d4ca5661a6c5b5c7c851eafe53c5c150..3b1b1bfe227df3f58a7f3f1f2a8a2af65b90942a 100644 (file)
@@ -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
    ...