AlkantarClanX12
Current Path : /proc/self/root/opt/alt/python39/lib64/python3.9/__pycache__/ |
Current File : //proc/self/root/opt/alt/python39/lib64/python3.9/__pycache__/contextlib.cpython-39.opt-2.pyc |
a R�f0` � @ sV d dl Z d dlZd dlZd dlmZ d dlmZ d dlmZm Z g d�Z G dd� de j�ZG dd � d e j�Z G d d� de�ZG dd � d �ZG dd� deee�ZG dd� dee �Zdd� Zdd� ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG d d!� d!�ZG d"d#� d#ee�ZG d$d%� d%ee �ZG d&d'� d'e�ZdS )(� N)�deque��wraps)� MethodType�GenericAlias)�asynccontextmanager�contextmanager�closing�nullcontext�AbstractContextManager�AbstractAsyncContextManager�AsyncExitStack�ContextDecorator� ExitStack�redirect_stdout�redirect_stderr�suppressc @ s6 e Zd Zee�Zdd� Zejdd� �Z edd� �Z dS )r c C s | S �N� ��selfr r �//opt/alt/python39/lib64/python3.9/contextlib.py� __enter__ s z AbstractContextManager.__enter__c C s d S r r �r �exc_type� exc_value� tracebackr r r �__exit__ s zAbstractContextManager.__exit__c C s | t u rt�|dd�S tS )Nr r )r �_collections_abc�_check_methods�NotImplemented��cls�Cr r r �__subclasshook__ s z'AbstractContextManager.__subclasshook__N)�__name__� __module__�__qualname__�classmethodr �__class_getitem__r �abc�abstractmethodr r$ r r r r r s r c @ s6 e Zd Zee�Zdd� Zejdd� �Z edd� �Z dS )r c � s | S r r r r r r � __aenter__+ s z&AbstractAsyncContextManager.__aenter__c � s d S r r r r r r � __aexit__/ s z%AbstractAsyncContextManager.__aexit__c C s | t u rt�|dd�S tS )Nr, r- )r r r r r! r r r r$ 4 s �z,AbstractAsyncContextManager.__subclasshook__N)r% r&