HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-10-0-8-47 6.8.0-1021-aws #23~22.04.1-Ubuntu SMP Tue Dec 10 16:31:58 UTC 2024 aarch64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.22
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