File: //lib64/python3.8/asyncio/__pycache__/locks.cpython-38.opt-1.pyc
U
e5d|C @ s d Z dZddlZddlZddlZddlmZ ddlmZ ddlmZ ddlm Z G d d
d
Z
G dd dZG d
d deZG dd dZ
G dd deZG dd deZG dd deZdS )zSynchronization primitives.)LockEvent Condition SemaphoreBoundedSemaphore N )events)futures)
exceptions)
coroutinesc @ s( e Zd ZdZdd Zdd Zdd ZdS ) _ContextManagera\ Context manager.
This enables the following idiom for acquiring and releasing a
lock around a block:
with (yield from lock):
<block>
while failing loudly when accidentally using:
with lock:
<block>
Deprecated, use 'async with' statement:
async with lock:
<block>
c C s
|| _ d S N)_lock)selflock r %/usr/lib64/python3.8/asyncio/locks.py__init__"