[Python-checkins] GH-85447: Clarify docs about awaiting future multiple times (GH-97738)
miss-islington
webhook-mailer at python.org
Sun Oct 2 18:24:35 EDT 2022
https://github.com/python/cpython/commit/72d445a22e4fe59f11f090762f2517a60e164f40
commit: 72d445a22e4fe59f11f090762f2517a60e164f40
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-10-02T15:24:29-07:00
summary:
GH-85447: Clarify docs about awaiting future multiple times (GH-97738)
(cherry picked from commit 9151bbefea3fb932eb6aa6ddb22d64b83f8149c7)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303 at users.noreply.github.com>
files:
M Doc/library/asyncio-future.rst
diff --git a/Doc/library/asyncio-future.rst b/Doc/library/asyncio-future.rst
index 412304ab6148..70cec9b2f902 100644
--- a/Doc/library/asyncio-future.rst
+++ b/Doc/library/asyncio-future.rst
@@ -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
More information about the Python-checkins
mailing list