mirror of
https://github.com/python/cpython.git
synced 2025-07-23 03:05:38 +00:00
[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:
parent
357708eee0
commit
ddccdbfc40
3 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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.
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue