diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-07-14 09:40:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-14 09:40:32 (GMT) |
commit | dfdded6bebc862edf1b286690b54538eccea8923 (patch) | |
tree | 69bb4910101215189e04e956559545b67335e095 | |
parent | 00eb4355e3c3ac891f0951d0ee46b0da3fdc2616 (diff) | |
download | cpython-dfdded6bebc862edf1b286690b54538eccea8923.zip cpython-dfdded6bebc862edf1b286690b54538eccea8923.tar.gz cpython-dfdded6bebc862edf1b286690b54538eccea8923.tar.bz2 |
[3.12] gh-106634: Corrected minor asyncio doc issues (GH-106671) (#106712)
gh-106634: Corrected minor asyncio doc issues (GH-106671)
(cherry picked from commit 4b4a5b70aa8d47b1e2a0582b741c31b786da762a)
Co-authored-by: Chris Brett <chrisbrett665@gmail.com>
-rw-r--r-- | Lib/asyncio/base_events.py | 2 | ||||
-rw-r--r-- | Lib/asyncio/events.py | 2 | ||||
-rw-r--r-- | Misc/ACKS | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/Lib/asyncio/base_events.py b/Lib/asyncio/base_events.py index 32d7e1c..2590046 100644 --- a/Lib/asyncio/base_events.py +++ b/Lib/asyncio/base_events.py @@ -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 diff --git a/Lib/asyncio/events.py b/Lib/asyncio/events.py index ce44942..0ccf851 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. @@ -226,6 +226,7 @@ Erik Bray Brian Brazil Demian Brecht Dave Brennan +Christopher Richard James Brett Tom Bridgman Anthony Briggs Keith Briggs |