mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +00:00
Fix typo in asyncio.BoundedSemaphore docs (GH-8882)
semapthores -> semaphores
This commit is contained in:
parent
096329f0b2
commit
b8a181f4ae
1 changed files with 1 additions and 1 deletions
|
|
@ -268,7 +268,7 @@ BoundedSemaphore
|
||||||
This raises :exc:`ValueError` in :meth:`~Semaphore.release` if it would
|
This raises :exc:`ValueError` in :meth:`~Semaphore.release` if it would
|
||||||
increase the value above the initial value.
|
increase the value above the initial value.
|
||||||
|
|
||||||
Bounded semapthores support the :ref:`context management
|
Bounded semaphores support the :ref:`context management
|
||||||
protocol <async-with-locks>`.
|
protocol <async-with-locks>`.
|
||||||
|
|
||||||
This class is :ref:`not thread safe <asyncio-multithreading>`.
|
This class is :ref:`not thread safe <asyncio-multithreading>`.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue