Commit a572476a authored by Georg Brandl's avatar Georg Brandl

#10846: fix typo.

parent b30111f2
......@@ -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
...
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment