
    6h{                          " S  S\ 5      r " S S\5      r " S S\5      r " S S\5      r " S S	\5      r " S
 S\5      r " S S\5      r	 " S S\5      r
 " S S\5      rg)c                   "    \ rS rSrSrSr\/rSrg)FrozenError   z
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
zcan't set attribute N)__name__
__module____qualname____firstlineno____doc__msgargs__static_attributes__r       F/usr/lib/python3/dist-packages/mercurial/thirdparty/attr/exceptions.pyr   r      s      C5Dr   r   c                       \ rS rSrSrSrg)FrozenInstanceError   zP
A frozen instance has been attempted to be modified.

.. versionadded:: 16.1.0
r   Nr   r   r   r	   r
   r   r   r   r   r   r          r   r   c                       \ rS rSrSrSrg)FrozenAttributeError   zQ
A frozen attribute has been attempted to be modified.

.. versionadded:: 20.1.0
r   Nr   r   r   r   r   r      r   r   r   c                       \ rS rSrSrSrg)AttrsAttributeNotFoundError#   ze
An ``attrs`` function couldn't find an attribute that the user asked for.

.. versionadded:: 16.2.0
r   Nr   r   r   r   r   r   #   r   r   r   c                       \ rS rSrSrSrg)NotAnAttrsClassError+   z]
A non-``attrs`` class has been passed into an ``attrs`` function.

.. versionadded:: 16.2.0
r   Nr   r   r   r   r   r   +   r   r   r   c                       \ rS rSrSrSrg)DefaultAlreadySetError3   zx
A default has been set using ``attr.ib()`` and is attempted to be reset
using the decorator.

.. versionadded:: 17.1.0
r   Nr   r   r   r   r   r   3       r   r   c                       \ rS rSrSrSrg)UnannotatedAttributeError<   zn
A class with ``auto_attribs=True`` has an ``attr.ib()`` without a type
annotation.

.. versionadded:: 17.3.0
r   Nr   r   r   r   r#   r#   <   r!   r   r#   c                       \ rS rSrSrSrg)PythonTooOldErrorE   zn
It was attempted to use an ``attrs`` feature that requires a newer Python
version.

.. versionadded:: 18.2.0
r   Nr   r   r   r   r&   r&   E   r!   r   r&   c                   2   ^  \ rS rSrSrU 4S jrS rSrU =r$ )NotCallableErrorN   zp
A ``attr.ib()`` requiring a callable has been set with a value
that is not callable.

.. versionadded:: 19.2.0
c                 D   > [         [        U ]  X5        Xl        X l        g N)super	TypeError__init__r   value)selfr   r0   	__class__s      r   r/   NotCallableError.__init__V   s    i'3
r   c                 ,    [        U R                  5      $ r,   )strr   )r1   s    r   __str__NotCallableError.__str__[   s    488}r   )r   r0   )	r   r   r   r	   r
   r/   r6   r   __classcell__)r2   s   @r   r)   r)   N   s    
 r   r)   N)AttributeErrorr   r   r   
ValueErrorr   r   RuntimeErrorr   r#   r&   r.   r)   r   r   r   <module>r<      sq   . + ; * : \   y r   