%PDF- %PDF-
Direktori : /lib/python3/dist-packages/hamcrest/core/__pycache__/ |
Current File : //lib/python3/dist-packages/hamcrest/core/__pycache__/selfdescribingvalue.cpython-312.pyc |
� ���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