Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : claqxcrl ( 523)
PHP Version : 8.1.32
Disable Function : NONE
Directory :  /opt/cloudlinux/venv/lib64/python3.11/site-packages/attr/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/cloudlinux/venv/lib64/python3.11/site-packages/attr/__pycache__/setters.cpython-311.pyc
�

�hx��N�dZddlmZddlmZd�Zd�Zd�Zd�Ze	��Z
dS)	z%
Commonly used hooks for on_setattr.
�)�_config��FrozenAttributeErrorc����fd�}|S)zf
    Run all *setters* and return the return value of the last one.

    .. versionadded:: 20.1.0
    c�0��|}�D]}||||��}�|S)N�)�instance�attrib�	new_value�rv�setter�setterss     ��C/opt/cloudlinux/venv/lib64/python3.11/site-packages/attr/setters.py�wrapped_pipezpipe.<locals>.wrapped_pipes1���
���	.�	.�F����&�"�-�-�B�B��	�r)rrs` r�pipers$���������rc��t���)zL
    Prevent an attribute to be modified.

    .. versionadded:: 20.1.0
    r)�_�__�___s   r�frozenrs���
 �
 � rc�V�tjdur|S|j}|s|S||||��|S)z^
    Run *attrib*'s validator on *new_value* if it has one.

    .. versionadded:: 20.1.0
    F)r�_run_validators�	validator)r	r
r�vs    r�validater'sH����%�'�'�����A������A�h��	�"�"�"��rc�.�|j}|r||��S|S)z
    Run *attrib*'s converter -- if it has one --  on *new_value* and return the
    result.

    .. versionadded:: 20.1.0
    )�	converter)r	r
r�cs    r�convertr 9s(��	��A����q��|�|���rN)�__doc__�r�
exceptionsrrrrr �object�NO_OPrrr�<module>r&s�����
������,�,�,�,�,�,����$!�!�!����$��� 	������r

ZeroDay Forums Mini