File: //lib/python3/dist-packages/hamcrest/core/core/__pycache__/isanything.cpython-310.pyc
o
(]^� � @ st d dl mZmZ d dlmZ d dlmZ d dlmZ dZ dZ
dZG dd � d ee �Zddee
dee fd
d�Zd
S )� )�Any�Optional)�BaseMatcher)�Description)�MatcherzJon ReidzCopyright 2011 hamcrest.orgzBSD, see License.txtc @ sF e Zd Zdee ddfdd�Zdedefdd�Zde ddfd d
�Z
dS )�
IsAnything�description�returnNc C s |pd| _ d S )N�ANYTHING�r ��selfr � r �?/usr/lib/python3/dist-packages/hamcrest/core/core/isanything.py�__init__
s zIsAnything.__init__�itemc C s dS )NTr )r
r r r r �_matches s zIsAnything._matchesc C s |� | j� d S �N)�append_textr r r r r �describe_to s zIsAnything.describe_to)�__name__�
__module__�__qualname__r �strr r �boolr r r r r r r r s r Nr r c C s t | �S )z�Matches anything.
:param description: Optional string used to describe this matcher.
This matcher always evaluates to ``True``. Specify this in composite
matchers when the value of a particular element is unimportant.
)r r r r r �anything s r r )�typingr r �hamcrest.core.base_matcherr �hamcrest.core.descriptionr �hamcrest.core.matcherr �
__author__�
__copyright__�__license__r r r r r r r �<module> s