Skip to content

Commit

Permalink
pythonGH-85447: Clarify docs about awaiting future multiple times (py…
Browse files Browse the repository at this point in the history
…thonGH-97738)

(cherry picked from commit 9151bbe)

Co-authored-by: Kumar Aditya <[email protected]>
  • Loading branch information
kumaraditya303 authored and miss-islington committed Oct 2, 2022
1 parent 5ee8344 commit 66d52e2
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 66d52e2

Please sign in to comment.