From 98d3b7ef2e420d95928b4111684912fc8af64966 Mon Sep 17 00:00:00 2001 From: Chris Brett Date: Wed, 12 Jul 2023 09:11:40 +0100 Subject: [PATCH 1/4] =?UTF-8?q?fix=20#=C2=96106634:=20minor=20doc=20issues?= =?UTF-8?q?=20in=20asyncio?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Lib/asyncio/base_events.py | 2 +- Lib/asyncio/events.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/asyncio/base_events.py b/Lib/asyncio/base_events.py index f650e6b0488cf8..b092c9343634e2 100644 --- a/Lib/asyncio/base_events.py +++ b/Lib/asyncio/base_events.py @@ -727,7 +727,7 @@ def call_later(self, delay, callback, *args, context=None): always relative to the current time. Each callback will be called exactly once. If two callbacks - are scheduled for exactly the same time, it undefined which + are scheduled for exactly the same time, it is undefined which will be called first. Any positional arguments after the callback will be passed to diff --git a/Lib/asyncio/events.py b/Lib/asyncio/events.py index ce44942186b272..0ccf85105e6673 100644 --- a/Lib/asyncio/events.py +++ b/Lib/asyncio/events.py @@ -617,7 +617,7 @@ class AbstractEventLoopPolicy: def get_event_loop(self): """Get the event loop for the current context. - Returns an event loop object implementing the BaseEventLoop interface, + Returns an event loop object implementing the AbstractEventLoop interface, or raises an exception in case no event loop has been set for the current context and the current policy does not specify to create one. From 360eb545e250b7d1fe01d5f58467c1a6b25ed728 Mon Sep 17 00:00:00 2001 From: Chris Brett Date: Wed, 12 Jul 2023 09:28:49 +0100 Subject: [PATCH 2/4] add news entry --- .../Documentation/2023-07-12-09-27-53.gh-issue-106634.6zoSkl.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 Misc/NEWS.d/next/Documentation/2023-07-12-09-27-53.gh-issue-106634.6zoSkl.rst diff --git a/Misc/NEWS.d/next/Documentation/2023-07-12-09-27-53.gh-issue-106634.6zoSkl.rst b/Misc/NEWS.d/next/Documentation/2023-07-12-09-27-53.gh-issue-106634.6zoSkl.rst new file mode 100644 index 00000000000000..38a33ea69da2d7 --- /dev/null +++ b/Misc/NEWS.d/next/Documentation/2023-07-12-09-27-53.gh-issue-106634.6zoSkl.rst @@ -0,0 +1 @@ +Minor corrections to asyncio's docstrings. From 45ee3497104195527d3291b1a20d0e008a5ccb5c Mon Sep 17 00:00:00 2001 From: Chris Brett Date: Wed, 12 Jul 2023 09:45:33 +0100 Subject: [PATCH 3/4] Update ACKS --- Misc/ACKS | 1 + 1 file changed, 1 insertion(+) diff --git a/Misc/ACKS b/Misc/ACKS index ef0029a7e4119d..645ad5b700baaa 100644 --- a/Misc/ACKS +++ b/Misc/ACKS @@ -226,6 +226,7 @@ Erik Bray Brian Brazil Demian Brecht Dave Brennan +Christopher Richard James Brett Tom Bridgman Anthony Briggs Keith Briggs From b6ef06cc677c0ca13296c403f6de0125a7bb80ba Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Wed, 12 Jul 2023 10:17:23 +0100 Subject: [PATCH 4/4] Remove unnecessary news entry --- .../Documentation/2023-07-12-09-27-53.gh-issue-106634.6zoSkl.rst | 1 - 1 file changed, 1 deletion(-) delete mode 100644 Misc/NEWS.d/next/Documentation/2023-07-12-09-27-53.gh-issue-106634.6zoSkl.rst diff --git a/Misc/NEWS.d/next/Documentation/2023-07-12-09-27-53.gh-issue-106634.6zoSkl.rst b/Misc/NEWS.d/next/Documentation/2023-07-12-09-27-53.gh-issue-106634.6zoSkl.rst deleted file mode 100644 index 38a33ea69da2d7..00000000000000 --- a/Misc/NEWS.d/next/Documentation/2023-07-12-09-27-53.gh-issue-106634.6zoSkl.rst +++ /dev/null @@ -1 +0,0 @@ -Minor corrections to asyncio's docstrings.