| Server IP : 35.80.110.71 / Your IP : 216.73.216.221 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/IPython/utils/__pycache__/ |
Upload File : |
�
}�e� � � � d Z d� Zd� Zy)zIUtilities for working with data structures like lists, dicts and tuples.
c �n � t � }| D �cg c] }||vs�|j |� r�|�� c}S c c}w )a/ uniq_stable(elems) -> list
Return from an iterable, a list of all the unique elements in the input,
but maintaining the order in which they first appear.
Note: All elements in the input must be hashable for this routine
to work, as it internally uses a set for efficiency reasons.
)�set�add)�elems�seen�xs �4/usr/lib/python3/dist-packages/IPython/utils/data.py�uniq_stabler
s/ � � �5�D��B�!���
�d�h�h�q�k�A�B�B��Bs � 2�2�2c �` � t dt | � |� D �cg c]
}| |||z �� c}S c c}w )z.Chop a sequence into chunks of the given size.� )�range�len)�seq�size�is r �chopr s- � �#(��3�s�8�D�#9�:�a�C��!�D�&�M�:�:��:s �+N)�__doc__r r � � r �<module>r s ���
C�;r