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/python312/lib64/python3.12/importlib/metadata/__pycache__/_itertools.cpython-312.pyc
�

E��	�����&�ddlmZdd�Zeeffd�Zy)�)�filterfalseNc#��K�t�}|j}|�(t|j|�D]}||�|���y|D]}||�}||vs�||�|���y�w)zHList unique elements, preserving order. Remember all elements ever seen.N)�set�addr�__contains__)�iterable�key�seen�seen_add�element�ks      �D/opt/alt/python312/lib64/python3.12/importlib/metadata/_itertools.py�unique_everseenrsj�����5�D��x�x�H�
�{�"�4�#4�#4�h�?�G��W���M�@� �G��G��A���}�����
�	 �s�AA$�A$c��|�td�S|�t||�rt|f�S	t|�S#t$rt|f�cYSwxYw)axIf *obj* is iterable, return an iterator over its items::

        >>> obj = (1, 2, 3)
        >>> list(always_iterable(obj))
        [1, 2, 3]

    If *obj* is not iterable, return a one-item iterable containing *obj*::

        >>> obj = 1
        >>> list(always_iterable(obj))
        [1]

    If *obj* is ``None``, return an empty iterable:

        >>> obj = None
        >>> list(always_iterable(None))
        []

    By default, binary and text strings are not considered iterable::

        >>> obj = 'foo'
        >>> list(always_iterable(obj))
        ['foo']

    If *base_type* is set, objects for which ``isinstance(obj, base_type)``
    returns ``True`` won't be considered iterable.

        >>> obj = {'a': 1}
        >>> list(always_iterable(obj))  # Iterate over the dict's keys
        ['a']
        >>> list(always_iterable(obj, base_type=dict))  # Treat dicts as a unit
        [{'a': 1}]

    Set *base_type* to ``None`` to avoid any special handling and treat objects
    Python considers iterable as iterable:

        >>> obj = 'foo'
        >>> list(always_iterable(obj, base_type=None))
        ['f', 'o', 'o']
    �)�iter�
isinstance�	TypeError)�obj�	base_types  r�always_iterablersX��R�{��B�x����:�c�9�#=��S�F�|����C�y������S�F�|���s�
4�A�A)N)�	itertoolsrr�str�bytesrr�r�<module>rs��!��&%(��<�2r