diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2020-02-01 11:12:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-01 11:12:52 (GMT) |
commit | 90d9ba6ef10af32e8dfe0649789c3a8ccf419e95 (patch) | |
tree | 5cd3e31fa3f1508ff72bfa0991bcdd8eeb9e3259 /Doc/library | |
parent | abb9a448dee3e18c69080231fbeba980bf048211 (diff) | |
download | cpython-90d9ba6ef10af32e8dfe0649789c3a8ccf419e95.zip cpython-90d9ba6ef10af32e8dfe0649789c3a8ccf419e95.tar.gz cpython-90d9ba6ef10af32e8dfe0649789c3a8ccf419e95.tar.bz2 |
bpo-34793: Drop old-style context managers in asyncio.locks (GH-17533)
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/asyncio-sync.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/asyncio-sync.rst b/Doc/library/asyncio-sync.rst index f080b03..84a52cb 100644 --- a/Doc/library/asyncio-sync.rst +++ b/Doc/library/asyncio-sync.rst @@ -347,8 +347,8 @@ BoundedSemaphore --------- -.. deprecated:: 3.7 +.. versionchanged:: 3.9 Acquiring a lock using ``await lock`` or ``yield from lock`` and/or :keyword:`with` statement (``with await lock``, ``with (yield from - lock)``) is deprecated. Use ``async with lock`` instead. + lock)``) was removed. Use ``async with lock`` instead. |