
    f                         d Z d Zd Zy)zIUtilities for working with data structures like lists, dicts and tuples.
c                 n    t               }| D cg c]  }||vs|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      M/var/www/cvtools/html/venv/lib/python3.12/site-packages/IPython/utils/data.pyuniq_stabler	      s/     5DB!dhhqkABBBs   	222c                 `    t        dt        |       |      D cg 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-    #(3s8D#9:aC!D&M:::s   +N)__doc__r	   r        r   <module>r      s   
C;r   