diff --git a/kioss/_pipe.py b/kioss/_pipe.py index f6fd95f..1f345e6 100644 --- a/kioss/_pipe.py +++ b/kioss/_pipe.py @@ -367,7 +367,7 @@ def _accept(self, visitor: "AVisitor") -> Any: return visitor.visit_catch_pipe(self) def __str__(self) -> str: - return f"Catch(exception instances of classes [{', '.join(map(lambda class_: class_.__name__, self.classes))}]{', with an additional `when` condition' if self.when is not None else ''})" + return f"Catch(exception instances of class in [{', '.join(map(lambda class_: class_.__name__, self.classes))}]{', with an additional `when` condition' if self.when is not None else ''})" class ChainPipe(APipe[T]):