CasperSecurity

Current Path : /lib/python3/dist-packages/attr/__pycache__/
Upload File :
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	
Hacker Blog, Shell İndir, Sql İnjection, XSS Attacks, LFI Attacks, Social Hacking, Exploit Bot, Proxy Tools, Web Shell, PHP Shell, Alfa Shell İndir, Hacking Training Set, DDoS Script, Denial Of Service, Botnet, RFI Attacks, Encryption
Telegram @BIBIL_0DAY