bpo-46777: Fix incorrect use of directives in asyncio documentation (GH-31388)
(cherry picked from commit 2923d87ca258b9d421e8147b12f0d98295ee3f8e)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
diff --git a/Doc/library/asyncio-queue.rst b/Doc/library/asyncio-queue.rst
index e6f26bb..d86fbc2 100644
--- a/Doc/library/asyncio-queue.rst
+++ b/Doc/library/asyncio-queue.rst
@@ -36,6 +36,9 @@
the queue is always known and can be returned by calling the
:meth:`qsize` method.
+ .. versionchanged:: 3.10
+ Removed the *loop* parameter.
+
This class is :ref:`not thread safe <asyncio-multithreading>`.
@@ -105,13 +108,6 @@
Raises :exc:`ValueError` if called more times than there were
items placed in the queue.
- .. deprecated-removed:: 3.8 3.10
-
- The ``loop`` parameter. This function has been implicitly getting the
- current running loop since 3.7. See
- :ref:`What's New in 3.10's Removed section <whatsnew310-removed>`
- for more information.
-
Priority Queue
==============