
    e                     R    d dl Z d dlmZ d dlmZ d dlmZ dZdZdZ	 G d d	e      Z
y)
    N)Any)Description)SelfDescribingzJon ReidzCopyright 2011 hamcrest.orgzBSD, see License.txtc                   0    e Zd ZdZdeddfdZdeddfdZy)SelfDescribingValuea(  Wrap any value in a ``SelfDescribingValue`` to satisfy the
    :py:class:`~hamcrest.core.selfdescribing.SelfDescribing` interface.

    **Deprecated:** No need for this class now that
    :py:meth:`~hamcrest.core.description.Description.append_description_of`
    handles any type of value.

    valuereturnNc                 F    t        j                  dt               || _        y )Nz$SelfDescribingValue no longer needed)warningswarnDeprecationWarningr   )selfr   s     C/usr/lib/python3/dist-packages/hamcrest/core/selfdescribingvalue.py__init__zSelfDescribingValue.__init__   s    <>PQ
    descriptionc                 :    |j                  | j                         y)z%Generates a description of the value.N)append_description_ofr   )r   r   s     r   describe_tozSelfDescribingValue.describe_to   s    ))$**5r   )__name__
__module____qualname____doc__r   r   r   r    r   r   r   r      s-    c d 6{ 6t 6r   r   )r   typingr   hamcrest.core.descriptionr   hamcrest.core.selfdescribingr   
__author____copyright____license__r   r   r   r   <module>r!      s,      1 7
-$6. 6r   