Skip to content

Commit

Permalink
GH-85447: Clarify docs about awaiting future multiple times (#97738)
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaraditya303 authored Oct 2, 2022
1 parent cac2e8a commit 9151bbe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Doc/library/asyncio-future.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ Future Object

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

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

0 comments on commit 9151bbe

Please sign in to comment.