[3.11] gh-106634: Corrected minor asyncio doc issues (GH-106671) (#106711)

gh-106634: Corrected minor asyncio doc issues (GH-106671)
(cherry picked from commit 4b4a5b70aa)

Co-authored-by: Chris Brett <chrisbrett665@gmail.com>
This commit is contained in:
Miss Islington (bot) 2023-07-29 11:07:49 -07:00 committed by GitHub
parent 357708eee0
commit ddccdbfc40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View file

@ -716,7 +716,7 @@ class BaseEventLoop(events.AbstractEventLoop):
always relative to the current time. always relative to the current time.
Each callback will be called exactly once. If two callbacks 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. will be called first.
Any positional arguments after the callback will be passed to Any positional arguments after the callback will be passed to

View file

@ -613,7 +613,7 @@ class AbstractEventLoopPolicy:
def get_event_loop(self): def get_event_loop(self):
"""Get the event loop for the current context. """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 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. current context and the current policy does not specify to create one.

View file

@ -224,6 +224,7 @@ Erik Bray
Brian Brazil Brian Brazil
Demian Brecht Demian Brecht
Dave Brennan Dave Brennan
Christopher Richard James Brett
Tom Bridgman Tom Bridgman
Anthony Briggs Anthony Briggs
Keith Briggs Keith Briggs