Skip to content

Commit

Permalink
ThreadedFlatteningIteratorWrapper: fix log typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ebonnal committed Nov 15, 2023
1 parent 27f29a0 commit 6336d6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kioss/_concurrent_exec.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def __next__(self):
elem = next(self.iterator_iterator)
if not isinstance(elem, Iterator):
raise TypeError(
f"Elements to be flattened have to be, but got '{elem}' of type{type(elem)}"
f"Elements to be flattened have to be Iterators, but got '{elem}' of type{type(elem)}"
)
self.iterators_pool.add(elem)
except StopIteration:
Expand Down

0 comments on commit 6336d6e

Please sign in to comment.