https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/attr/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/attr/__pycache__/setters.cpython-310.pyc
o

��`��@sZdZddlmZmZmZddlmZddlmZdd�Z	dd	�Z
d
d�Zdd
�Ze
�ZdS)z%
Commonly used hooks for on_setattr.
�)�absolute_import�division�print_function�)�_config��FrozenAttributeErrorcs�fdd�}|S)zf
    Run all *setters* and return the return value of the last one.

    .. versionadded:: 20.1.0
    cs|}�D]}||||�}q|S)N�)�instance�attrib�	new_value�rv�setter��settersr	�./usr/lib/python3/dist-packages/attr/setters.py�wrapped_pipeszpipe.<locals>.wrapped_piper	)rrr	rr�pipesrcCst��)zL
    Prevent an attribute to be modified.

    .. versionadded:: 20.1.0
    r)�_�__�___r	r	r�frozensrcCs,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
rr�vr	r	r�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)r
rr�cr	r	r�convert8srN)�__doc__�
__future__rrr�r�
exceptionsrrrrr�object�NO_OPr	r	r	r�<module>s	

https://t.me/RX1948 - 2025