403Webshell
Server IP : 104.21.4.30  /  Your IP : 104.23.243.33
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/core/core/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/hamcrest/core/core/__pycache__/isinstanceof.cpython-38.pyc
U

�b�VH�@sHddlmZddlmZdZdZdZddlZGdd�de�Zd	d
�Z	dS)�)�BaseMatcher)�is_matchable_typezJon ReidzCopyright 2011 hamcrest.orgzBSD, see License.txtNc@s$eZdZdd�Zdd�Zdd�ZdS)�IsInstanceOfcCst|�std��||_dS)Nz:IsInstanceOf requires type or a tuple of classes and types)r�	TypeError�
expected_type)�selfr�r�A/usr/lib/python3/dist-packages/hamcrest/core/core/isinstanceof.py�__init__szIsInstanceOf.__init__cCst||j�S�N)�
isinstancer)r�itemrrr	�_matchesszIsInstanceOf._matchescCsPz|jj}Wn.tk
r:dd�dd�|jD��}YnX|�d��|�dS)Nz	one of %s�,css|]}t|�VqdSr)�str)�.0�errr	�	<genexpr>sz+IsInstanceOf.describe_to.<locals>.<genexpr>zan instance of )r�__name__�AttributeError�joinZappend_text)rZdescriptionZtype_descriptionrrr	�describe_tos 
�zIsInstanceOf.describe_toN)r�
__module__�__qualname__r
rrrrrr	r
srcCst|�S)adMatches if object is an instance of, or inherits from, a given type.

    :param atype: The type to compare against as the expected type or a tuple
        of types.

    This matcher checks whether the evaluated object is an instance of
    ``atype`` or an instance of any class that inherits from ``atype``.

    Example::

        instance_of(str)

    )r)Zatyperrr	�instance_ofsr)
Zhamcrest.core.base_matcherrZ"hamcrest.core.helpers.wrap_matcherr�
__author__Z
__copyright__Z__license__�typesrrrrrr	�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit