We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abfdc87 commit 52c6e5fCopy full SHA for 52c6e5f
src/textual/_unique.py
@@ -19,5 +19,5 @@ def unique_ordered(*values: Iterable[T]) -> list[T]:
19
A list of values, where each value appears exactly once, in the order they were given.
20
21
"""
22
- unique_objects = list(dict.fromkeys(chain(*values)))
+ unique_objects = list(dict.fromkeys(chain.from_iterable(values)))
23
return unique_objects
0 commit comments