%PDF- %PDF-
Direktori : /lib/python3/dist-packages/hamcrest/core/__pycache__/ |
Current File : //lib/python3/dist-packages/hamcrest/core/__pycache__/description.cpython-312.pyc |
� ���e� � �4 � d dl mZmZ dZdZdZ G d� d� Zy)� )�Any�IterablezJon ReidzCopyright 2011 hamcrest.orgzBSD, see License.txtc �R � e Zd ZdZdedd fd�Zdedd fd�Zdeded ed ee dd f d�Z y) �Descriptionz�A description of a :py:class:`~hamcrest.core.matcher.Matcher`. A :py:class:`~hamcrest.core.matcher.Matcher` will describe itself to a description which can later be used for reporting. �text�returnc � � t d� �)z_Appends some plain text to the description. :returns: ``self``, for chaining �append_text��NotImplementedError)�selfr s �;/usr/lib/python3/dist-packages/hamcrest/core/description.pyr zDescription.append_text s � � "�-�0�0� �valuec � � t d� �)z�Appends description of given value to this description. If the value implements :py:meth:`~hamcrest.core.selfdescribing.SelfDescribing.describe_to`, then it will be used. :returns: ``self``, for chaining �append_description_ofr )r r s r r z!Description.append_description_of s � � "�"9�:�:r �start� separator�end�listc � � t d� �)az Appends a list of objects to the description. :param start: String that will begin the list description. :param separator: String that will separate each object in the description. :param end: String that will end the list description. :param list: List of objects to be described. :returns: ``self``, for chaining �append_listr )r r r r r s r r zDescription.append_list$ s � � "�-�0�0r N) �__name__� __module__�__qualname__�__doc__�strr r r r r � r r r r s^ � ��1�� 1� � 1� ;�3� ;�=� ;�1��1�%(�1�/2�1�:B�3�-�1� �1r r N)�typingr r � __author__� __copyright__�__license__r r r r �<module>r# s! �� � � �-� �$��*1� *1r