From 9e003fe974d409933b49ba3c4081d807c12b49a9 Mon Sep 17 00:00:00 2001 From: kodsurfer Date: Mon, 25 May 2026 18:02:19 +0300 Subject: [PATCH 1/3] Fix wrong reference in BaseSelectorEventLoop docstring --- Lib/asyncio/selector_events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/asyncio/selector_events.py b/Lib/asyncio/selector_events.py index 961dbfb4b96303e..770af6b648c40ce 100644 --- a/Lib/asyncio/selector_events.py +++ b/Lib/asyncio/selector_events.py @@ -53,7 +53,7 @@ def _test_selector_event(selector, fd, event): class BaseSelectorEventLoop(base_events.BaseEventLoop): """Selector event loop. - See events.EventLoop for API specification. + See events.AbstractEventLoop for API specification. """ def __init__(self, selector=None): From 221cc24318dd2764ce9c12de9f80b0118b2f3292 Mon Sep 17 00:00:00 2001 From: kodsurfer Date: Mon, 25 May 2026 18:50:05 +0300 Subject: [PATCH 2/3] Add news entry for BaseSelectorEventLoop docstring fix --- .../2026-05-25-18-49-05.gh-issue-150345.gGIuYp.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Misc/NEWS.d/next/Documentation/2026-05-25-18-49-05.gh-issue-150345.gGIuYp.rst diff --git a/Misc/NEWS.d/next/Documentation/2026-05-25-18-49-05.gh-issue-150345.gGIuYp.rst b/Misc/NEWS.d/next/Documentation/2026-05-25-18-49-05.gh-issue-150345.gGIuYp.rst new file mode 100644 index 000000000000000..24936453e96a135 --- /dev/null +++ b/Misc/NEWS.d/next/Documentation/2026-05-25-18-49-05.gh-issue-150345.gGIuYp.rst @@ -0,0 +1,10 @@ +Fix wrong class reference in asyncio.selector_events.BaseSelectorEventLoop +docstring. Changed reference from non-existent events.EventLoop to +events.AbstractEventLoop, which correctly documents the API specification. +#.. section: Tests #.. section: Build #.. section: Windows #.. section: +macOS #.. section: IDLE #.. section: Tools/Demos #.. section: C API + +# Write your Misc/NEWS.d entry below. It should be a simple ReST paragraph. +# Don't start with "- Issue #: " or "- gh-issue-: " or that sort of +stuff. +########################################################################### From 703bed51caa780b0514704b1dba780ce7a68a30c Mon Sep 17 00:00:00 2001 From: kodsurfer <86408225+kodsurfer@users.noreply.github.com> Date: Thu, 28 May 2026 00:00:11 +0300 Subject: [PATCH 3/3] Delete Misc/NEWS.d/next/Documentation/2026-05-25-18-49-05.gh-issue-150345.gGIuYp.rst --- .../2026-05-25-18-49-05.gh-issue-150345.gGIuYp.rst | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 Misc/NEWS.d/next/Documentation/2026-05-25-18-49-05.gh-issue-150345.gGIuYp.rst diff --git a/Misc/NEWS.d/next/Documentation/2026-05-25-18-49-05.gh-issue-150345.gGIuYp.rst b/Misc/NEWS.d/next/Documentation/2026-05-25-18-49-05.gh-issue-150345.gGIuYp.rst deleted file mode 100644 index 24936453e96a135..000000000000000 --- a/Misc/NEWS.d/next/Documentation/2026-05-25-18-49-05.gh-issue-150345.gGIuYp.rst +++ /dev/null @@ -1,10 +0,0 @@ -Fix wrong class reference in asyncio.selector_events.BaseSelectorEventLoop -docstring. Changed reference from non-existent events.EventLoop to -events.AbstractEventLoop, which correctly documents the API specification. -#.. section: Tests #.. section: Build #.. section: Windows #.. section: -macOS #.. section: IDLE #.. section: Tools/Demos #.. section: C API - -# Write your Misc/NEWS.d entry below. It should be a simple ReST paragraph. -# Don't start with "- Issue #: " or "- gh-issue-: " or that sort of -stuff. -###########################################################################