diff options
author | Georg Brandl <georg@python.org> | 2011-01-06 19:28:18 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2011-01-06 19:28:18 (GMT) |
commit | a572476a2ae9c5d20812d076d6f4172fc160bb61 (patch) | |
tree | 013a680ca65ab080c5e04bd2e037deffdca804ee /Doc/library/threading.rst | |
parent | b30111f29e0759271cb66ba1fd27a9fd1a884f96 (diff) | |
download | cpython-a572476a2ae9c5d20812d076d6f4172fc160bb61.zip cpython-a572476a2ae9c5d20812d076d6f4172fc160bb61.tar.gz cpython-a572476a2ae9c5d20812d076d6f4172fc160bb61.tar.bz2 |
#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 74c9976..3b1b1bf 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 ... |