File: //proc/self/root/usr/lib/python3/dist-packages/hamcrest/core/__pycache__/description.cpython-38.pyc
U
�b�V� � @ s d Z dZdZG dd� de�ZdS )zJon ReidzCopyright 2011 hamcrest.orgzBSD, see License.txtc @ s0 e Zd ZdZdd� Zdd� Zdd� Zdd � Zd
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.
c C s t d��dS )z_Appends some plain text to the description.
:returns: ``self``, for chaining
�append_textN��NotImplementedError)�self�text� r �;/usr/lib/python3/dist-packages/hamcrest/core/description.pyr s zDescription.append_textc C s t d��dS )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_ofNr �r �valuer r r r s
z!Description.append_description_ofc C s t d��dS )z�Appends an arbitary value to the description.
**Deprecated:** Call
:py:meth:`~hamcrest.core.description.Description.append_description_of`
instead.
:returns: ``self``, for chaining
�append_valueNr r
r r r r "