XylotrechusZ
�
� hTS � �� � d Z ddlZej d dk ZerefZdd�ZnefZddlZ e ed� � Z[ddl
mZ ddlm
Z
ddlmZmZ d d
lmZ ddlmZ n# e$ r Y nw xY wd dlmZmZmZmZ G d
� de� � Z G d� de� � Z G d� de� � Z G d� de� � Z G d� de� � Z G d� de� � Z e Z!dddefd�Z"d� Z# e� � e#_$ dS )zoThis module implements decorators for implementing other decorators
as well as some commonly used decorators.
� N� c �| � |�&t j d� � }|j }|�|j }~n|�|}t d� � dS )zExecute code in a namespace.N� zexec _code_ in _globs_, _locs_)�sys� _getframe� f_globals�f_locals�exec)�_code_�_globs_�_locs_�frames �c/builddir/build/BUILD/cloudlinux-venv-1.0.8/venv/lib64/python3.11/site-packages/wrapt/decorators.py�exec_r
sM � ��?��M�!�$�$�E��o�G��~������
�^��F��
1�2�2�2�2�2� r
)�partial)�isclass)�Lock�RLockr )�
formatargspec)� signature)�FunctionWrapper�BoundFunctionWrapper�ObjectProxy�CallableObjectProxyc � � � e Zd Z� fd�Zed� � � Zed� � � Zed� � � Zed� � � Zed� � � Z � xZ
S )�_AdapterFunctionCodec �f �� t t | � � � |� � || _ d S �N)�superr �__init__�_self_adapter_code)�self�wrapped_code�adapter_code� __class__s �r r! z_AdapterFunctionCode.__init__7 s0 �� �
�"�D�)�)�2�2�<�@�@�@�".����r c � � | j j S r )r"