[docs] [issue37620] str.split(sep=None, maxsplit=-1,any=False)

Raymond Hettinger report at bugs.python.org
Fri Jul 19 03:18:58 EDT 2019

Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

This API is already overloaded with two distinct algorithms -- see https://stackoverflow.com/questions/16645083 .  If new functionality is truly needed, it should be in a separate method rather than feature creeping in additional variants.

Also, the OP's post seems to be grounded in an initial misreading of the docs rather than in compelling use cases for a new option.  So, there may be room for improving the documentation, especially the examples.

assignee:  -> docs at python
components: +Documentation -Library (Lib)
nosy: +docs at python, rhettinger
versions: +Python 3.9

Python tracker <report at bugs.python.org>

More information about the docs mailing list