lists - append - unique and sorted

Terry Reedy tjreedy at
Thu Jun 7 20:02:38 CEST 2007

"Dan Bishop" <danb_83 at> wrote in message 
news:1181181710.879767.234090 at
| If you don't need the list to be sorted until you're done building it,
| you can just use:
| lst = sorted(set(lst))

?? looks same as

More information about the Python-list mailing list