https://t.me/RX1948
Server : LiteSpeed
System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
User : idnco5810 ( 1093)
PHP Version : 8.2.29
Disable Function : NONE
Directory :  /usr/lib/python3/dist-packages/hamcrest/library/text/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

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

(]^B�@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)�StringStartsWith�returnNcstt|��|�dS)N)�superr�__init__)�self�	substring��	__class__��H/usr/lib/python3/dist-packages/hamcrest/library/text/stringstartswith.pyrszStringStartsWith.__init__�itemcCst|d�sdS|�|j�S)N�
startswithF)rrr
)r	rr
r
r�_matchess
zStringStartsWith._matchescCsdS)Nz
starting withr
)r	r
r
r�relationshipszStringStartsWith.relationship)rN)	�__name__�
__module__�__qualname__r�str�boolrr�
__classcell__r
r
rrr
srr
rcCst|�S)a^Matches if object is a string starting with 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 if ``string`` matches the beginning characters of the evaluated
    object.

    Example::

        starts_with("foo")

    will match "foobar".

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

https://t.me/RX1948 - 2025