Minor cleanup.

This commit is contained in:
Simon Forman
2019-12-03 08:41:42 -08:00
parent fdf0339e16
commit 0588496ca5
3 changed files with 2 additions and 3 deletions
-1
View File
@@ -616,7 +616,6 @@ def unique(S):
'''Given a list remove duplicate items.'''
tos, stack = S
I = list(iter_stack(tos))
list_to_stack(sorted(set(I), key=I.index))
return list_to_stack(sorted(set(I), key=I.index)), stack