AlkantarClanX12

Your IP : 13.58.28.196


Current Path : /opt/alt/python37/lib/python3.7/site-packages/attr/__pycache__/
Upload File :
Current File : //opt/alt/python37/lib/python3.7/site-packages/attr/__pycache__/exceptions.cpython-37.pyc

B

T��`��@s�ddlmZmZmZGdd�de�ZGdd�de�ZGdd�de�ZGdd	�d	e�Z	Gd
d�de�Z
Gdd
�d
e�ZGdd�de�Z
Gdd�de�ZGdd�de�ZdS)�)�absolute_import�division�print_functionc@seZdZdZdZegZdS)�FrozenErrorz�
    A frozen/immutable instance or attribute have been attempted to be
    modified.

    It mirrors the behavior of ``namedtuples`` by using the same error message
    and subclassing `AttributeError`.

    .. versionadded:: 20.1.0
    zcan't set attributeN)�__name__�
__module__�__qualname__�__doc__�msg�args�rr�@/opt/alt/python37/lib/python3.7/site-packages/attr/exceptions.pyrs	rc@seZdZdZdS)�FrozenInstanceErrorz\
    A frozen instance has been attempted to be modified.

    .. versionadded:: 16.1.0
    N)rrrr	rrrr
rsrc@seZdZdZdS)�FrozenAttributeErrorz]
    A frozen attribute has been attempted to be modified.

    .. versionadded:: 20.1.0
    N)rrrr	rrrr
rsrc@seZdZdZdS)�AttrsAttributeNotFoundErrorzq
    An ``attrs`` function couldn't find an attribute that the user asked for.

    .. versionadded:: 16.2.0
    N)rrrr	rrrr
r#src@seZdZdZdS)�NotAnAttrsClassErrorzi
    A non-``attrs`` class has been passed into an ``attrs`` function.

    .. versionadded:: 16.2.0
    N)rrrr	rrrr
r+src@seZdZdZdS)�DefaultAlreadySetErrorz�
    A default has been set using ``attr.ib()`` and is attempted to be reset
    using the decorator.

    .. versionadded:: 17.1.0
    N)rrrr	rrrr
r3src@seZdZdZdS)�UnannotatedAttributeErrorz~
    A class with ``auto_attribs=True`` has an ``attr.ib()`` without a type
    annotation.

    .. versionadded:: 17.3.0
    N)rrrr	rrrr
r<src@seZdZdZdS)�PythonTooOldErrorz~
    It was attempted to use an ``attrs`` feature that requires a newer Python
    version.

    .. versionadded:: 18.2.0
    N)rrrr	rrrr
rEsrcs(eZdZdZ�fdd�Zdd�Z�ZS)�NotCallableErrorz�
    A ``attr.ib()`` requiring a callable has been set with a value
    that is not callable.

    .. versionadded:: 19.2.0
    cs"tt|��||�||_||_dS)N)�super�	TypeError�__init__r
�value)�selfr
r)�	__class__rr
rVszNotCallableError.__init__cCs
t|j�S)N)�strr
)rrrr
�__str__[szNotCallableError.__str__)rrrr	rr�
__classcell__rr)rr
rNsrN)�
__future__rrr�AttributeErrorrrr�
ValueErrorrr�RuntimeErrorrrrrrrrrr
�<module>s