]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] 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:23:48 +0000 (10:23 +0100)
committerGitHub <noreply@github.com>
Wed, 19 Mar 2025 09:23:48 +0000 (10:23 +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 d910f49ed3a7550e25eda93115365d5505094277..2f4cd43cae4ad9075757fb9f3f6b69096b9f506a 100644 (file)
@@ -5050,6 +5050,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.