o
    (]^	  ã                   @   s2   d dl mZmZmZ dZdZdZG dd„ dƒZdS )é    )ÚAnyÚIterableÚSequencezJon ReidzCopyright 2011 hamcrest.orgzBSD, see License.txtc                
   @   sV   e Zd ZdZdedd fdd„Zdedd fdd„Zd	ed
ededee dd f
dd„Z	dS )Ú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                 C   ó   t dƒ‚)z_Appends some plain text to the description.

        :returns: ``self``, for chaining

        Úappend_text©ÚNotImplementedError)Úselfr   © r   ú;/usr/lib/python3/dist-packages/hamcrest/core/description.pyr	      s   zDescription.append_textÚvaluec                 C   r   )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   r   r   r   r      s   
z!Description.append_description_ofÚstartÚ	separatorÚendÚlistc                 C   r   )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   r   r   r   r   $   s   zDescription.append_listN)
Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ústrr	   r   r   r   r   r   r   r   r   r      s    ÿÿÿÿþr   N)Útypingr   r   r   Ú
__author__Z__copyright__Z__license__r   r   r   r   r   Ú<module>   s
    