[Python-checkins] r87807 - python/branches/py3k/Doc/library/threading.rst

georg.brandl python-checkins at python.org
Thu Jan 6 20:28:18 CET 2011


Author: georg.brandl
Date: Thu Jan  6 20:28:18 2011
New Revision: 87807

Log:
#10846: fix typo.

Modified:
   python/branches/py3k/Doc/library/threading.rst

Modified: python/branches/py3k/Doc/library/threading.rst
==============================================================================
--- python/branches/py3k/Doc/library/threading.rst	(original)
+++ python/branches/py3k/Doc/library/threading.rst	Thu Jan  6 20:28:18 2011
@@ -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
    ...


More information about the Python-checkins mailing list