Re: Await expressions

2024-01-27 Thread Mild Shock via Python-list
Maybe consult: PEP 492 – Coroutines with async and await syntax Created: 09-Apr-2015 Python-Version: 3.5 https://peps.python.org/pep-0492/ Mild Shock schrieb: We say that an object is an awaitable object if it can be used in an await expression. Many asyncio APIs are designed to accept awaita

Re: Await expressions

2024-01-27 Thread Mild Shock via Python-list
We say that an object is an awaitable object if it can be used in an await expression. Many asyncio APIs are designed to accept awaitables. There are three main types of awaitable objects: coroutines, Tasks, and Futures. Stefan Ram schrieb: In "The Python Language Reference, Release 3.13

Re: Await expressions (Posting On Python-List Prohibited)

2024-01-27 Thread Dieter Maurer via Python-list
>On 27/01/24 10:46 am, Stefan Ram wrote: >>But your explanation seems to have no mention of the "something" / >>"the awaitable object" part following the preposition "on". Shouldn't >>this awaitable object play a rôle in the explanation of what happens? You can explain a function call