asyncio.Condition's doc is kind of misleading

the document about asyncio.Condition is kind of misleading.

the doc says:

An asyncio condition primitive can be used by a task to wait for some event to happen and then get exclusive access to a shared resource.

but in the example code

cond = asyncio.Condition()

# ... later
async with cond:
    await cond.wait()

it’s more like we acquire the lock first, then we wait on the event.

Would you like to submit a PR to try and clarify the documentation? Otherwise please consider opening an issue on the issue tracker as this is inevitably get lost as we don’t track bug reports here.