| Server IP : 139.59.63.204 / Your IP : 216.73.217.62 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ubuntu-s-1vcpu-1gb-blr1-01 6.8.0-110-generic #110-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 19 15:09:20 UTC 2026 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/hamcrest/core/__pycache__/ |
Upload File : |
�
���e� � �R � d dl Z d dlmZ d dlmZ d dlmZ dZdZdZ G d� d e� Z
y)
� N)�Any)�Description)�SelfDescribingzJon ReidzCopyright 2011 hamcrest.orgzBSD, see License.txtc �0 � e Zd ZdZdeddfd�Zdeddfd�Zy)�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 dt � || _ y )Nz$SelfDescribingValue no longer needed)�warnings�warn�DeprecationWarningr )�selfr s �C/usr/lib/python3/dist-packages/hamcrest/core/selfdescribingvalue.py�__init__zSelfDescribingValue.__init__ s � ��
�
�<�>P�Q���
� �descriptionc �: � |j | j � y)z%Generates a description of the value.N)�append_description_ofr )r r s r �describe_tozSelfDescribingValue.describe_to s � ��)�)�$�*�*�5r )�__name__�
__module__�__qualname__�__doc__r r r r � r r r r s- � ���c� �d� �6�{� 6�t� 6r r )r �typingr �hamcrest.core.descriptionr �hamcrest.core.selfdescribingr �
__author__�
__copyright__�__license__r r r r �<module>r! s, �� � � 1� 7�
�
�-�
�$��6�.� 6r