diff options
Diffstat (limited to 'tools/cru-py/cru/_iter.py')
-rw-r--r-- | tools/cru-py/cru/_iter.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/cru-py/cru/_iter.py b/tools/cru-py/cru/_iter.py index 8f58561..f9683ca 100644 --- a/tools/cru-py/cru/_iter.py +++ b/tools/cru-py/cru/_iter.py @@ -445,6 +445,9 @@ class CruIterator(Generic[_T]): return result + def join_str(self: CruIterator[str], separator: str) -> str: + return separator.join(self) + class CruIterMixin(Generic[_T]): def cru_iter(self: Iterable[_T]) -> CruIterator[_T]: |