%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/hamcrest/core/core/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/hamcrest/core/core/__pycache__/anyof.cpython-312.pyc

�

���e4���ddlmZmZddlmZddlmZddlmZddl	m
Z
dZdZdZ
ed	�ZGd
�dee�Zdee
eefd
e
efd�Zy)�)�TypeVar�Union)�BaseMatcher)�Description)�wrap_matcher)�MatcherzJon ReidzCopyright 2011 hamcrest.orgzBSD, see License.txt�Tc�B�eZdZdeeddfd�Zdedefd�Zdeddfd�Z	y)	�AnyOf�matchers�returnNc��||_y)N)r)�selfrs  �:/usr/lib/python3/dist-packages/hamcrest/core/core/anyof.py�__init__zAnyOf.__init__s	�� ��
��itemc�L�|jD]}|j|�s�yy)NTF)r�matches)rr�matchers   r�_matcheszAnyOf._matchess)���}�}�	�G����t�$��	�r�descriptionc�@�|jddd|j�y)N�(z or �))�append_listr)rrs  r�describe_tozAnyOf.describe_tos������V�S�$�-�-�@r)
�__name__�
__module__�__qualname__rr	r�boolrrr�rrrrsB��!�'�!�*�!��!��Q��4��A�{�A�t�Arr�itemsr
c�J�t|D�cgc]
}t|���c}�Scc}w)a�Matches if any of the given matchers evaluate to ``True``.

    :param matcher1,...:  A comma-separated list of matchers.

    The matchers are evaluated from left to right using short-circuit
    evaluation, so evaluation stops as soon as a matcher returns ``True``.

    Any argument that is not a matcher is implicitly wrapped in an
    :py:func:`~hamcrest.core.core.isequal.equal_to` matcher to check for
    equality.

    )rr)r#rs  r�any_ofr%s"���%�8�$�<��%�8�9�9��8s� N)�typingrr�hamcrest.core.base_matcherr�hamcrest.core.descriptionr�"hamcrest.core.helpers.wrap_matcherr�hamcrest.core.matcherr�
__author__�
__copyright__�__license__r	rr%r"rr�<module>r.sb��!�2�1�;�)�
�
�-�
�$���C�L��A�K��N�A�
:�5����Q��'�
:�G�A�J�
:r

Zerion Mini Shell 1.0