]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-106634: Corrected minor asyncio doc issues (#106671)
authorChris Brett <chrisbrett665@gmail.com>
Thu, 13 Jul 2023 07:51:13 +0000 (08:51 +0100)
committerGitHub <noreply@github.com>
Thu, 13 Jul 2023 07:51:13 +0000 (13:21 +0530)
Lib/asyncio/base_events.py
Lib/asyncio/events.py
Misc/ACKS

index f650e6b0488cf8ce0ced1a0fa076758d966dea49..b092c9343634e2db913da3a171fa14285b16353b 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