* Remove redundant versionchanged
* Add missing versionchanged
* Update Doc/library/asyncio-task.rst
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
---------
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
If the wait is cancelled, the future *aw* is also cancelled.
- .. versionchanged:: 3.10
- Removed the *loop* parameter.
-
.. _asyncio_example_waitfor:
Example::
.. versionchanged:: 3.10
Removed the *loop* parameter.
+ .. versionchanged:: 3.11
+ Raises :exc:`TimeoutError` instead of :exc:`asyncio.TimeoutError`.
+
Waiting Primitives
==================