[issue14763] string.split maxsplit documented incorrectly

2012-05-09 Thread Fj
Fj 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 "I

[issue14763] string.split maxsplit documented incorrectly

2012-05-09 Thread Fj
New submission from Fj : string.split documentation says: > The optional third argument maxsplit defaults to 0. If it is nonzero, at most > maxsplit number of splits occur, and the remainder of the string is returned > as the final element of the list (thus, the list will hav