| Server IP : 138.197.176.125 / Your IP : 216.73.217.54 Web Server : Apache/2.4.41 (Ubuntu) System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.3.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/hamcrest/library/collection/__pycache__/ |
Upload File : |
U
�b�V � @ s4 d dl mZ dZdZdZG dd� de�Zdd� Zd S )
� )�BaseMatcherzJon ReidzCopyright 2011 hamcrest.orgzBSD, see License.txtc @ s$ e Zd Zdd� Zdd� Zdd� ZdS )�IsInc C s
|| _ d S �N��sequence)�selfr � r �B/usr/lib/python3/dist-packages/hamcrest/library/collection/isin.py�__init__
s z
IsIn.__init__c C s
|| j kS r r )r �itemr r r �_matches
s z
IsIn._matchesc C s |� d��ddd| j� d S )Nzone of �(z, �))Zappend_textZappend_listr )r Zdescriptionr r r �describe_to s
�zIsIn.describe_toN)�__name__�
__module__�__qualname__r
r r r r r r r s r c C s t | �S )z�Matches if evaluated object is present in a given sequence.
:param sequence: The sequence to search.
This matcher invokes the ``in`` membership operator to determine if the
evaluated object is a member of the sequence.
)r r r r r �is_in s r N)Zhamcrest.core.base_matcherr �
__author__Z
__copyright__Z__license__r r r r r r �<module> s