}BFjdZddlZddlmZmZddlmZedZdeedeefdZ d eed e deeefd Z dS) zIUtilities for working with data structures like lists, dicts and tuples. N)IterableSequence)TypeVarTelemsreturnctjdtdt}g}|D]0}||vr*||||1|S)auniq_stable(elems) -> list .. deprecated:: 9.8 This function is deprecated and will be removed in a future version. It is not used within IPython and was never part of the public API. 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. zyuniq_stable is deprecated since IPython 9.8 and will be removed in a future version. It was never part of the public API.) stacklevel)warningswarnDeprecationWarningsetaddappend)rseenresultxs @C:\PYTHON\_runtimes\venv\Lib\site-packages\IPython/utils/data.py uniq_stablersw M /  55DF  D== HHQKKK MM!    Mseqsizec\fdtdtDS)z.Chop a sequence into chunks of the given size.c*g|]}||zSr).0irrs r zchop..2s& @ @ @!CAH  @ @ @rr)rangelen)rrs``rchopr"0s3 @ @ @ @ @uQC$'?'? @ @ @@r) __doc__r collections.abcrrtypingrrlistrintr"rrrr(s........ GCLLx{tAw8AhqkAAhqk):AAAAAAr