HEX
Server: nginx/1.24.0
System: Linux localhost 5.15.0-46-generic #49-Ubuntu SMP Thu Aug 4 18:03:25 UTC 2022 x86_64
User: www (1000)
PHP: 8.3.27
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: //proc/self/root/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