]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-131417: Mention asyncio Future and Task in docs for generic classes list (#131422)
authorAndrew Svetlov <andrew.svetlov@gmail.com>
Wed, 19 Mar 2025 09:05:23 +0000 (10:05 +0100)
committerGitHub <noreply@github.com>
Wed, 19 Mar 2025 09:05:23 +0000 (10:05 +0100)
Mention asyncio Future and Task in docs for generic classes list

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 2807177b7ce78bf49d3648892122f104847ea8ca..50bad396933a234dd5b97f27d83dc51da0f4b953 100644 (file)
@@ -5244,6 +5244,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.