New submission from Tshepang Lekhonkhobe <tshep...@gmail.com>: I was hoping that I could use a list/tuple of separators for the split method:
"abcde".split(["b", "d"]) vs. import re re.split("b|d", "abcde") That's one extra LOC, and (worse still) forces me to learn regexp. Does this suggested 'improvement' make sense? ---------- components: Library (Lib) messages: 128234 nosy: tshepang priority: normal severity: normal status: open title: Add tuple/list sep to string split method _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11162> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com