]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] gh-106634: Corrected minor asyncio doc issues (GH-106671) (#106711)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 29 Jul 2023 18:07:49 +0000 (11:07 -0700)
committerGitHub <noreply@github.com>
Sat, 29 Jul 2023 18:07:49 +0000 (18:07 +0000)
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 c5c7bd46ff8b1494ea68f988a240558d12fb8b25..d4c8238ba5217fbb27c6b9530c5cedd6f9349f73 100644 (file)
@@ -716,7 +716,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 b1799320eaa08dbfac833848fb1ee099d7e33dc0..5fe4074faf3a0931afeb8ad6e9adc974d1d4370d 100644 (file)
@@ -613,7 +613,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 eba0ffba9a633fbacaa18c66a7be50b712302d47..5fe93d638082dc7d38de23bdcd49338779784dfe 100644 (file)
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -224,6 +224,7 @@ Erik Bray
 Brian Brazil
 Demian Brecht
 Dave Brennan
+Christopher Richard James Brett
 Tom Bridgman
 Anthony Briggs
 Keith Briggs