]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
GH-85447: Clarify docs about awaiting future multiple times (#97738)
authorKumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Sun, 2 Oct 2022 22:16:51 +0000 (03:46 +0530)
committerGitHub <noreply@github.com>
Sun, 2 Oct 2022 22:16:51 +0000 (15:16 -0700)
Doc/library/asyncio-future.rst

index 99a5d3a8287bf775fd34ea88b3d631f47bc24f06..8e60877f0e4c7d5a7a102f5cca97841f7e3f4282 100644 (file)
@@ -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