a
    ฉlc๗  ใ                   @   s   d Z dd Zdd ZdS )zIUtilities for working with data structures like lists, dicts and tuples.
c                    s   t    fdd| D S )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.
    c                    s"   g | ]}| vr   |กs|qS ฉ )ฺadd)ฺ.0ฺxฉฺseenr   ๚N/var/www/html/django/DPS/env/lib/python3.9/site-packages/IPython/utils/data.pyฺ
<listcomp>   ๓    zuniq_stable.<locals>.<listcomp>)ฺset)ฺelemsr   r   r   ฺuniq_stable   s    	r   c                    s     fddt dt D S )z.Chop a sequence into chunks of the given size.c                    s   g | ]} ||  qS r   r   )r   ฺiฉฺseqฺsizer   r   r      r	   zchop.<locals>.<listcomp>้    )ฺrangeฺlenr   r   r   r   ฺchop   s    r   N)ฺ__doc__r   r   r   r   r   r   ฺ<module>   s   