mirror of
https://github.com/python/cpython.git
synced 2026-04-22 03:41:08 +00:00
Fix typo in asyncio.BoundedSemaphore docs (GH-8882)
semapthores -> semaphores
(cherry picked from commit b8a181f4ae)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
parent
89b1654e0b
commit
609c033f43
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
|
||||
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>`.
|
||||
|
||||
This class is :ref:`not thread safe <asyncio-multithreading>`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue