׃ĭ d Z ddlZddlZddlZddlZddlmZ ddlmZ ddl m Z ddl mZ n# e$ r G d d ZY nw xY wg d Z e d gz Z G d dej Z G d dej Z G d de Z G d de Z G d d Z G d deee Z G d deee Zd Zd Z G d de Z G d de Z G d d e Z G d! d"e Z G d# d$e Z G d% d&e Z G d' d( Z G d) d*ee Z G d+ d,ee Z! G d- d.ee Z" G d/ d e Z#dS )0zAcontextlib2 - backports and enhancements to the contextlib module N)dequewraps MethodType)GenericAliasc e Zd ZdS )r N)__name__ __module____qualname__ f/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/contextlib2/__init__.pyr r s r r ) asynccontextmanagercontextmanagerclosingnullcontextAbstractContextManagerAbstractAsyncContextManagerAsyncExitStackContextDecorator ExitStackredirect_stdoutredirect_stderrsuppressaclosingContextStackc d e Zd ZdZ ee Zd Zej d Z ed ZdS )r z,An abstract base class for context managers.c | S z0Return `self` upon entering the runtime context.r selfs r __enter__z AbstractContextManager.__enter__" s r c dS z9Raise any exception triggered within the runtime context.Nr r" exc_type exc_value tracebacks r __exit__zAbstractContextManager.__exit__&