]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-106634: Corrected minor asyncio doc issues (GH-106671) (#106712)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 14 Jul 2023 09:40:32 +0000 (02:40 -0700)
committerGitHub <noreply@github.com>
Fri, 14 Jul 2023 09:40:32 +0000 (15:10 +0530)
gh-106634: Corrected minor asyncio doc issues (GH-106671)
(cherry picked from commit 4b4a5b70aa8d47b1e2a0582b741c31b786da762a)

Co-authored-by: Chris Brett <chrisbrett665@gmail.com>
Lib/asyncio/base_events.py
Lib/asyncio/events.py
Misc/ACKS

index 32d7e1c481ecc55018e091de6126e9590dcaa72f..259004650d5ab3e8783c7352ba0015d632dd3fba 100644 (file)
@@ -727,7 +727,7 @@ class BaseEventLoop(events.AbstractEventLoop):
         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
index ce44942186b2721287c6fd73787e49422f20dfa4..0ccf85105e6673f377f4e466d1aa75d63d44b9b8 100644 (file)
@@ -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.
 
index ef0029a7e4119d733b705114d6fedfbdfe88285e..645ad5b700baaac2272aae9be477c192f6080994 100644 (file)
--- 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