HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //proc/self/root/usr/lib/python3/dist-packages/hamcrest/core/core/__pycache__/anyof.cpython-38.pyc
U

�b�VI�@s@ddlmZddlmZdZdZdZGdd�de�Zdd	�Zd
S)�)�BaseMatcher��wrap_matcherzJon ReidzCopyright 2011 hamcrest.orgzBSD, see License.txtc@s$eZdZdd�Zdd�Zdd�ZdS)�AnyOfcGs
||_dS)N)�matchers)�selfr�r�:/usr/lib/python3/dist-packages/hamcrest/core/core/anyof.py�__init__szAnyOf.__init__cCs |jD]}|�|�rdSqdS)NTF)rZmatches)r�itemZmatcherrrr	�_matchess

zAnyOf._matchescCs|�ddd|j�dS)N�(z or �))Zappend_listr)rZdescriptionrrr	�describe_toszAnyOf.describe_toN)�__name__�
__module__�__qualname__r
rrrrrr	r	srcGstdd�|D��S)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.

    cSsg|]}t|��qSrr)�.0rrrr	�
<listcomp>%szany_of.<locals>.<listcomp>)r)�itemsrrr	�any_ofs
rN)	Zhamcrest.core.base_matcherrZ"hamcrest.core.helpers.wrap_matcherr�
__author__Z
__copyright__Z__license__rrrrrr	�<module>s