관리-도구
편집 파일: exceptions.cpython-37.pyc
B T��`� � @ s� d dl mZmZmZ G dd� de�ZG dd� de�ZG dd� de�ZG dd � d e�Z G d d� de�Z G dd � d e�ZG dd� de�Z G dd� de�ZG dd� de�ZdS )� )�absolute_import�division�print_functionc @ s e Zd ZdZdZegZdS )�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.pyr s r c @ s e Zd ZdZdS )�FrozenInstanceErrorz\ A frozen instance has been attempted to be modified. .. versionadded:: 16.1.0 N)r r r r r r r r r s r c @ s e Zd ZdZdS )�FrozenAttributeErrorz] A frozen attribute has been attempted to be modified. .. versionadded:: 20.1.0 N)r r r r r r r r r s r c @ s e Zd ZdZdS )�AttrsAttributeNotFoundErrorzq An ``attrs`` function couldn't find an attribute that the user asked for. .. versionadded:: 16.2.0 N)r r r r r r r r r # s r c @ s e Zd ZdZdS )�NotAnAttrsClassErrorzi A non-``attrs`` class has been passed into an ``attrs`` function. .. versionadded:: 16.2.0 N)r r r r r r r r r + s r c @ s e Zd ZdZdS )�DefaultAlreadySetErrorz� A default has been set using ``attr.ib()`` and is attempted to be reset using the decorator. .. versionadded:: 17.1.0 N)r r r r r r r r r 3 s r c @ s e Zd ZdZdS )�UnannotatedAttributeErrorz~ A class with ``auto_attribs=True`` has an ``attr.ib()`` without a type annotation. .. versionadded:: 17.3.0 N)r r r r r r r r r <