HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/hamcrest/core/__pycache__/selfdescribingvalue.cpython-310.pyc
o

(]^��@sLddlZddlmZddlmZddlmZdZdZdZ	Gdd	�d	e�Z
dS)
�N)�Any)�Description)�SelfDescribingzJon ReidzCopyright 2011 hamcrest.orgzBSD, see License.txtc@s4eZdZdZdeddfdd�Zdeddfdd	�ZdS)
�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�returnNcCst�dt�||_dS)Nz$SelfDescribingValue no longer needed)�warnings�warn�DeprecationWarningr)�selfr�r�C/usr/lib/python3/dist-packages/hamcrest/core/selfdescribingvalue.py�__init__s
zSelfDescribingValue.__init__�descriptioncCs|�|j�dS)z%Generates a description of the value.N)�append_description_ofr)rrrrr
�describe_toszSelfDescribingValue.describe_to)�__name__�
__module__�__qualname__�__doc__rrrrrrrr
rs	r)r�typingr�hamcrest.core.descriptionr�hamcrest.core.selfdescribingr�
__author__�
__copyright__�__license__rrrrr
�<module>s