mirror of
https://github.com/python/cpython.git
synced 2025-10-24 15:36:26 +00:00
Englich grammar nit.
This commit is contained in:
parent
1cc9520327
commit
c935a9530c
1 changed files with 1 additions and 1 deletions
|
|
@ -261,7 +261,7 @@ Example combining a :class:`Future` and a :ref:`coroutine function
|
||||||
print(future.result())
|
print(future.result())
|
||||||
loop.close()
|
loop.close()
|
||||||
|
|
||||||
The coroutine function is responsible of the computation (which takes 1 second)
|
The coroutine function is responsible for the computation (which takes 1 second)
|
||||||
and it stores the result into the future. The
|
and it stores the result into the future. The
|
||||||
:meth:`~BaseEventLoop.run_until_complete` method waits for the completion of
|
:meth:`~BaseEventLoop.run_until_complete` method waits for the completion of
|
||||||
the future.
|
the future.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue