[docs] [issue28697] asyncio.Lock, Condition, Semaphore docs don't mention `async with` syntax

Ulrich Petri report at bugs.python.org
Tue Nov 15 11:03:31 EST 2016


New submission from Ulrich Petri:

The docs for asyncio's Lock, Condition and Semaphore should use the new clean `async with lock:` syntax instead of the older (and IMO rather ugly) `with (yield from lock):` version.

----------
assignee: docs at python
components: Documentation, asyncio
messages: 280861
nosy: docs at python, gvanrossum, ulope, yselivanov
priority: normal
severity: normal
status: open
title: asyncio.Lock, Condition, Semaphore docs don't mention `async with` syntax
versions: Python 3.5, Python 3.6, Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28697>
_______________________________________


More information about the docs mailing list