diff options
author | Georg Brandl <georg@python.org> | 2011-01-06 19:28:18 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2011-01-06 19:28:18 +0000 |
commit | 825099ff52f79619f0ebee741f0042aa6bd83af4 (patch) | |
tree | 8bdca3ea5d496f75e75c0f3137f26c543e29c590 /Doc/library/threading.rst | |
parent | 54b3eec9de6792b76430c9f6c5377c9417881b58 (diff) | |
download | cpython-825099ff52f79619f0ebee741f0042aa6bd83af4.tar.gz |
#10846: fix typo.
Diffstat (limited to 'Doc/library/threading.rst')
-rw-r--r-- | Doc/library/threading.rst | 6 |
1 files changed, 3 insertions, 3 deletions
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 ... |