From 61b4b2c57c9327273f2e306bafa23cf2c70eac8e Mon Sep 17 00:00:00 2001 From: Andrew Svetlov Date: Wed, 19 Mar 2025 10:05:23 +0100 Subject: gh-131417: Mention asyncio Future and Task in docs for generic classes list (#131422) Mention asyncio Future and Task in docs for generic classes list --- Doc/library/stdtypes.rst | 2 ++ .../next/Documentation/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 2807177..50bad39 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -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 index 0000000..d3c80e4 --- /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. -- cgit v0.12