Message384270
Split string by given separator and return iterator as a result.
The naive and not very efficient solution would be using current str.split:
def split_iter(self: str, sep: str) -> 'Iterator[str]':
return iter(self.split(sep))
Probably, need we'll some better solution without allocating new list. |
|
Date |
User |
Action |
Args |
2021-01-03 13:09:42 | uwinx | set | recipients:
+ uwinx, vstinner, ezio.melotti |
2021-01-03 13:09:42 | uwinx | set | messageid: <1609679382.47.0.0845431201313.issue42816@roundup.psfhosted.org> |
2021-01-03 13:09:42 | uwinx | link | issue42816 messages |
2021-01-03 13:09:42 | uwinx | create | |
|