This commit is contained in:
Andras Schmelczer 2022-05-25 22:52:38 +02:00
parent 201acbdb17
commit 0dfed9f433

View file

@ -10,7 +10,7 @@ def unique(
for v in values:
k = key(v)
if k not in key_values:
# dicts maintin insertion order: https://mail.python.org/pipermail/python-dev/2017-December/151283.html
# dicts maintain insertion order: https://mail.python.org/pipermail/python-dev/2017-December/151283.html
key_values[k] = v
return list(key_values.values())