Skip to content

Commit 8ebba4c

Browse files
kumaraditya303miss-islington
authored andcommitted
pythonGH-85447: Clarify docs about awaiting future multiple times (pythonGH-97738)
(cherry picked from commit 9151bbe) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
1 parent 011260b commit 8ebba4c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/library/asyncio-future.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ Future Object
8585

8686
Future is an :term:`awaitable` object. Coroutines can await on
8787
Future objects until they either have a result or an exception
88-
set, or until they are cancelled.
88+
set, or until they are cancelled. A Future can be awaited multiple
89+
times and the result is same.
8990

9091
Typically Futures are used to enable low-level
9192
callback-based code (e.g. in protocols implemented using asyncio

0 commit comments

Comments
 (0)