]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in asyncio.BoundedSemaphore docs (GH-8882)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 24 Aug 2018 02:03:23 +0000 (22:03 -0400)
committerGitHub <noreply@github.com>
Fri, 24 Aug 2018 02:03:23 +0000 (22:03 -0400)
semapthores -> semaphores
(cherry picked from commit b8a181f4ae167e4eda60f585a536240764151cf7)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Doc/library/asyncio-sync.rst

index 3e574f41e80f17e2acecd641cf19ac7c493ff703..574f70f069b361194fbf119ef44b7f7385393a28 100644 (file)
@@ -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>`.