[issue28937] str.split(): allow removing empty strings (when sep is not None)
Philippe Cloutier
report at bugs.python.org
Fri Oct 18 12:26:59 EDT 2019
Philippe Cloutier <chealer at gmail.com> added the comment:
I assume the "workaround" suggested by Raymond in msg282966 is supposed to read...
filter(None, str.split(sep)
... rather than filter(None, sep.split(input)).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue28937>
_______________________________________
More information about the Python-bugs-list
mailing list