diff options
author | Yuqian Yang <crupest@crupest.life> | 2025-02-20 17:52:32 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2025-02-20 18:02:19 +0800 |
commit | e870972428794f51912dfa955c6de0d712c74db1 (patch) | |
tree | 39d5a6118e31f211c3cc511d73618bca4082578e /tools/cru-py/cru/_iter.py | |
parent | 75df0f7c4eaec0d50157ea8dc048241465da9c6c (diff) | |
download | crupest-e870972428794f51912dfa955c6de0d712c74db1.tar.gz crupest-e870972428794f51912dfa955c6de0d712c74db1.tar.bz2 crupest-e870972428794f51912dfa955c6de0d712c74db1.zip |
feat(cru-py): use new template format.
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]: |