AlkantarClanX12
Current Path : /opt/alt/python38/lib64/python3.8/asyncio/__pycache__/ |
Current File : //opt/alt/python38/lib64/python3.8/asyncio/__pycache__/locks.cpython-38.opt-1.pyc |
U i�f|C � @ s� d Z dZddlZddlZddlZddlmZ ddlmZ ddlmZ ddlm Z G d d � d �Z G dd� d�ZG d d� de�ZG dd� d�Z G dd� de�ZG dd� de�ZG dd� de�ZdS )zSynchronization primitives.)�Lock�Event� Condition� Semaphore�BoundedSemaphore� 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)�self�lock� r �2/opt/alt/python38/lib64/python3.8/asyncio/locks.py�__init__"