| Server IP : 138.197.176.125 / Your IP : 216.73.217.54 Web Server : Apache/2.4.41 (Ubuntu) System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.3.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/hamcrest/core/__pycache__/ |
Upload File : |
U
�b�VB � @ s4 d dl mZ d dlZdZdZdZG dd� de�ZdS )� )�SelfDescribingNzJon ReidzCopyright 2011 hamcrest.orgzBSD, see License.txtc @ s e Zd ZdZdd� Zdd� 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.
c C s t �dt� || _d S )Nz$SelfDescribingValue no longer needed)�warnings�warn�DeprecationWarning�value)�selfr � r �C/usr/lib/python3/dist-packages/hamcrest/core/selfdescribingvalue.py�__init__ s �zSelfDescribingValue.__init__c C s |� | j� dS )z%Generates a description of the value.N)Zappend_valuer )r Zdescriptionr r r
�describe_to s zSelfDescribingValue.describe_toN)�__name__�
__module__�__qualname__�__doc__r r r r r r
r
s r )Zhamcrest.core.selfdescribingr r �
__author__Z
__copyright__Z__license__r r r r r
�<module> s