| Server IP : 209.205.66.10 / Your IP : 216.73.217.150 Web Server : Apache/2.4.52 (Ubuntu) System : Linux ammon 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64 User : ( 1006) PHP Version : 8.5.8 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/hamcrest/core/__pycache__/ |
Upload File : |
o
(]^� � @ sL d dl Z d dlmZ d dlmZ d dlmZ dZdZdZ G dd � d e�Z
dS )
� N)�Any)�Description)�SelfDescribingzJon ReidzCopyright 2011 hamcrest.orgzBSD, see License.txtc @ s4 e Zd ZdZdeddfdd�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�returnNc C s t �dt� || _d S )Nz$SelfDescribingValue no longer needed)�warnings�warn�DeprecationWarningr )�selfr � r �C/usr/lib/python3/dist-packages/hamcrest/core/selfdescribingvalue.py�__init__ s
zSelfDescribingValue.__init__�descriptionc C s |� | j� dS )z%Generates a description of the value.N)�append_description_ofr )r r r r r
�describe_to s zSelfDescribingValue.describe_to)�__name__�
__module__�__qualname__�__doc__r r r r r r r r
r s r )r �typingr �hamcrest.core.descriptionr �hamcrest.core.selfdescribingr �
__author__�
__copyright__�__license__r r r r r
�<module> s