Commit 8be876e4 authored by Yury Selivanov's avatar Yury Selivanov Committed by GitHub

bpo-33649: Cleanup asyncio/streams and asyncio/synchronization docs (GH-9192)

parent fa7dfae3
This diff is collapsed.
This diff is collapsed.
......@@ -1923,8 +1923,7 @@ asyncio
Support for directly ``await``-ing instances of :class:`asyncio.Lock` and
other asyncio synchronization primitives has been deprecated. An
asynchronous context manager must be used in order to acquire and release
the synchronization resource. See :ref:`async-with-locks` for more
information.
the synchronization resource.
(Contributed by Andrew Svetlov in :issue:`32253`.)
The :meth:`asyncio.Task.current_task` and :meth:`asyncio.Task.all_tasks`
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment