Yohohohohohooho | Sanrei Aya
Sanrei Aya


Server : LiteSpeed
System : Linux barito.iixcp.rumahweb.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : elvh3918 ( 1528)
PHP Version : 8.2.31
Disable Function : mail
Directory :  /opt/alt/python37/lib/python3.7/site-packages/attr/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/alt/python37/lib/python3.7/site-packages/attr/__pycache__/setters.cpython-37.opt-1.pyc
B

�Ho��\���@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"|}x�D]}||||�}q
W|S)N�)�instance�attrib�	new_value�rv�setter)�settersr�=/opt/alt/python37/lib/python3.7/site-packages/attr/setters.py�wrapped_pipes
zpipe.<locals>.wrapped_piper)rrr)rr�pipesrcCs
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)r	r
r�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
    )Z	converter)r	r
r�crrr�convert8srN)�__doc__Z
__future__rrr�r�
exceptionsrrrrr�objectZNO_OPrrrr�<module>s	

Yohohohohohooho | Sanrei Aya