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 :  /lib/python3/dist-packages/hamcrest/library/collection/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

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

(]^4�@sjddlmZmZddlmZddlmZddlmZdZ	dZ
dZGdd	�d	ee�Zd
eefdd�Z
d
S)�)�Optional�Sized)�BaseMatcher)�Description)�Matcherz
Chris RosezCopyright 2012 hamcrest.orgzBSD, see License.txtc@s:eZdZd
dedeedefdd�Zdeddfdd	�ZdS)�IsEmptyN�item�mismatch_description�returncCs^zt|�dkr
WdS|r|�dt|��WdSWdSty.|r+|�d�YdSYdSw)NrTzhas %d item(s)zdoes not support lengthF)�len�append_text�	TypeError)�selfrr	�r�F/usr/lib/python3/dist-packages/hamcrest/library/collection/is_empty.py�matches
s����zIsEmpty.matches�descriptioncCs|�d�dS)Nzan empty collection)r)rrrrr�describe_toszIsEmpty.describe_to)N)	�__name__�
__module__�__qualname__rrr�boolrrrrrrrsrr
cCst�S)zy
    This matcher matches any collection-like object that responds to the
    __len__ method, and has a length of 0.
    )rrrrr�emptysrN)�typingrr�hamcrest.core.base_matcherr�hamcrest.core.descriptionr�hamcrest.core.matcherr�
__author__�
__copyright__�__license__rrrrrr�<module>s

https://t.me/RX1948 - 2025