From ff3147641a7a45894386fb22bfd14d440436a4a7 Mon Sep 17 00:00:00 2001 From: Andrew Svetlov Date: Wed, 19 Mar 2025 10:05:23 +0100 Subject: [PATCH] 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 --- Doc/library/stdtypes.rst | 2 ++ .../2025-03-18-15-15-16.gh-issue-131417.lQg5aH.rst | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 Misc/NEWS.d/next/Documentation/2025-03-18-15-15-16.gh-issue-131417.lQg5aH.rst diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index dee897b2577f05..c0b6b9ed6c0023 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -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 index 00000000000000..d3c80e41826186 --- /dev/null +++ b/Misc/NEWS.d/next/Documentation/2025-03-18-15-15-16.gh-issue-131417.lQg5aH.rst @@ -0,0 +1,2 @@ +Mention :class:`asyncio.Future` and :class:`asyncio.Task` in generic classes +list.