[docs] [issue14763] string.split maxsplit documented incorrectly

Fj report at bugs.python.org
Wed May 9 14:18:53 CEST 2012


Fj <fj.mail at gmail.com> added the comment:

Thank you.

> These functions are anyway deprecated

Well, yes, but it's the only place you can get information about the default value of maxsplit, short of looking in the source. Which is kind of wrong.

Maybe you can also fix str.split docstring to say "If maxsplit is not specified *or negative*, then there is no limit on the number of splits"?

----------

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


More information about the docs mailing list