HEX
Server: LiteSpeed
System: Linux kapuas.iixcp.rumahweb.net 5.14.0-427.42.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 1 14:58:02 EDT 2024 x86_64
User: mirz4654 (1666)
PHP: 8.1.33
Disabled: system,exec,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,popen,pclose,dl,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setsid,posix_setuid,posix_setpgid,ini_alter,show_source,define_syslog_variables,symlink,syslog,openlog,openlog,closelog,ocinumcols,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dll,ftp,myshellexec,socket_bind,mail,posix_getwpuid
Upload Files
File: //opt/alt/python310/lib64/python3.10/importlib/metadata/__pycache__/_text.cpython-310.pyc
o

�=?h��@s(ddlZddlmZGdd�de�ZdS)�N�)�method_cachecsreZdZdZdd�Zdd�Zdd�Zdd	�Zd
d�Z�fdd
�Z	dd�Z
e�fdd��Zdd�Z
ddd�Z�ZS)�
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
    cCs|��|��kS�N��lower��self�other�r�?/opt/alt/python310/lib64/python3.10/importlib/metadata/_text.py�__lt__C�zFoldedCase.__lt__cCs|��|��kSrrrrrr�__gt__FrzFoldedCase.__gt__cCs|��|��kSrrrrrr�__eq__IrzFoldedCase.__eq__cCs|��|��kSrrrrrr�__ne__LrzFoldedCase.__ne__cCst|���Sr)�hashr�r	rrr�__hash__OszFoldedCase.__hash__cstt|����|���Sr)�superrr�__contains__r��	__class__rrrRszFoldedCase.__contains__cCs|t|�vS)zDoes self appear in other?)rrrrr�in_UszFoldedCase.in_cstt|���Sr)rrrrrrrrZszFoldedCase.lowercCs|���|���Sr)r�index)r	�subrrrr^szFoldedCase.index� rcCs t�t�|�tj�}|�||�Sr)�re�compile�escape�I�split)r	Zsplitter�maxsplit�patternrrrr!aszFoldedCase.split)rr)�__name__�
__module__�__qualname__�__doc__r
rrrrrrrrrr!�
__classcell__rrrrrs;r)r�
_functoolsr�strrrrrr�<module>s