Skip to content

Commit 9151bbe

Browse files
GH-85447: Clarify docs about awaiting future multiple times (#97738)
1 parent cac2e8a commit 9151bbe

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)