]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-131417: Mention asyncio Future and Task in docs for generic classes list...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 19 Mar 2025 09:24:16 +0000 (10:24 +0100)
committerGitHub <noreply@github.com>
Wed, 19 Mar 2025 09:24:16 +0000 (10:24 +0100)
gh-131417: Mention asyncio Future and Task in docs for generic classes list (GH-131422)

Mention asyncio Future and Task in docs for generic classes list
(cherry picked from commit 61b4b2c57c9327273f2e306bafa23cf2c70eac8e)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
Doc/library/stdtypes.rst
Misc/NEWS.d/next/Documentation/2025-03-18-15-15-16.gh-issue-131417.lQg5aH.rst [new file with mode: 0644]

index dee897b2577f05b22c97a7260b6558c48d9a48c7..c0b6b9ed6c0023ba3d6cf89a125fe3da7882d755 100644 (file)
@@ -5041,6 +5041,8 @@ list is non-exhaustive.
 * :class:`set`
 * :class:`frozenset`
 * :class:`type`
+* :class:`asyncio.Future`
+* :class:`asyncio.Task`
 * :class:`collections.deque`
 * :class:`collections.defaultdict`
 * :class:`collections.OrderedDict`
diff --git a/Misc/NEWS.d/next/Documentation/2025-03-18-15-15-16.gh-issue-131417.lQg5aH.rst b/Misc/NEWS.d/next/Documentation/2025-03-18-15-15-16.gh-issue-131417.lQg5aH.rst
new file mode 100644 (file)
index 0000000..d3c80e4
--- /dev/null
@@ -0,0 +1,2 @@
+Mention :class:`asyncio.Future` and :class:`asyncio.Task` in generic classes
+list.