Python Forum

Full Version: unique option for sorting?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
is there a way to get the effect of a unique option for sorted() or list.sort() in order to eliminate duplicates?
Compose with more_itertools.unique_justseen().