Skip to content

Commit c8bdf33

Browse files
miss-islingtonkumaraditya303
authored andcommitted
GH-85447: Clarify docs about awaiting future multiple times (GH-97738)
(cherry picked from commit 9151bbe) Co-authored-by: Kumar Aditya <[email protected]>
1 parent 10818aa commit c8bdf33

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/library/asyncio-future.rst

+2-1
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)