Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.21
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	

Spamworldpro Mini