Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.21
Disable Function : NONE
Directory :  /lib/python3/dist-packages/hamcrest/library/text/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/hamcrest/library/text/__pycache__/stringcontains.cpython-310.pyc
o

(]^�@sZddlmZddlmZddlmZdZdZdZGdd�de�Z	d	e
d
ee
fdd�Zd
S)�)�	hasmethod)�Matcher)�SubstringMatcherzJon ReidzCopyright 2011 hamcrest.orgzBSD, see License.txtcs8eZdZd
�fdd�Zdedefdd�Zdd	�Z�ZS)�StringContains�returnNcstt|��|�dS)N)�superr�__init__)�self�	substring��	__class__��F/usr/lib/python3/dist-packages/hamcrest/library/text/stringcontains.pyrszStringContains.__init__�itemcCst|d�sdS|�|j�dkS)N�findFr)rrr
)r	rr
r
r�_matchess
zStringContains._matchescCsdS)N�
containingr
)r	r
r
r�relationshipszStringContains.relationship)rN)	�__name__�
__module__�__qualname__r�str�boolrr�
__classcell__r
r
rrr
srr
rcCst|�S)a4Matches if object is a string containing a given string.

    :param string: The string to search for.

    This matcher first checks whether the evaluated object is a string. If so,
    it checks whether it contains ``string``.

    Example::

        contains_string("def")

    will match "abcdefg".

    )r)r
r
r
r�contains_stringsrN)�hamcrest.core.helpers.hasmethodr�hamcrest.core.matcherr�&hamcrest.library.text.substringmatcherr�
__author__�
__copyright__�__license__rrrr
r
r
r�<module>s

Spamworldpro Mini