This commit is contained in:
Andras Schmelczer 2022-05-25 22:52:38 +02:00
parent fbab858d76
commit ba955c444b
No known key found for this signature in database
GPG key ID: 39260B5B0614A13E

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())