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 dceaf86 commit 0bbc653Copy full SHA for 0bbc653
src/prompt_toolkit/layout/utils.py
@@ -56,7 +56,7 @@ def __setitem__(
56
if isinstance(value, tuple): # In case of `OneStyleAndTextTuple`.
57
value = cast("List[_T]", [value])
58
59
- super().__setitem__(index, explode_text_fragments(cast("Iterable[_T]", value)))
+ super().__setitem__(index, explode_text_fragments(value))
60
61
62
def explode_text_fragments(fragments: Iterable[_T]) -> _ExplodedList[_T]:
0 commit comments