[issue17343] Add a version of str.split which returns an iterator

Raymond Hettinger report at bugs.python.org
Sat Apr 6 22:02:39 CEST 2013


Raymond Hettinger added the comment:

If someone wants whip-up a patch for str.iter_index(), I would be happy to review it.   Be sure to add a test case to make sure that the results are non-overlapping:   list('aaaa'.iter_index('aa')) == [0, 2]

----------
assignee:  -> rhettinger

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17343>
_______________________________________


More information about the Python-bugs-list mailing list